ctdb-common: Remove old runstate/string translation functions
commited67e650579b26e30b91775ffaa4ea7765d0b26f
authorMartin Schwenke <mschwenke@ddn.com>
Sat, 10 Feb 2024 04:41:38 +0000 (10 15:41 +1100)
committerVolker Lendecke <vl@samba.org>
Wed, 6 Mar 2024 06:05:38 +0000 (6 06:05 +0000)
treed4957de93dcd401d5405c97d22bd2beb2abf0b8d
parent318d526a0d13aa9e92a1ee2ca5f850ca94e219cd
ctdb-common: Remove old runstate/string translation functions

The canonical versions are in protocol utils.

These were unused apart from some stray forward declarations in
tools/ctdb.c and a single call in ctdb_set_runstate(), where
ctdb_runstate_to_string() can be used instead.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/common/common.h
ctdb/common/ctdb_util.c
ctdb/tools/ctdb.c