ctdb-version: Simplify version string usage

Enterprise / Samba - Amitay Isaacs [samba.org] - 15 March 2019 06:31 EDT

There is no need to write SAMBA_VERSION_STRING as CTDB_VERSION_STRING. Wherever required use SAMBA_VERSION_STRING directly.

Avoids the confusion with two version.h files.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13789

edd4a23d763 ctdb-version: Simplify version string usage
ctdb/common/version.c | 20 --------------------
ctdb/common/version.h | 18 ------------------
ctdb/include/ctdb_version.h | 3 ---
ctdb/server/ctdb_daemon.c | 4 ++--
ctdb/tools/ctdb.c | 4 ++--
ctdb/wscript | 2 +-
6 files changed, 5 insertions(+), 46 deletions(-)

Upstream: gitweb.samba.org


  • Share