mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
ctdb-common: Remove unused functions
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
0015b2a94a
commit
da1a6a3d31
@ -407,22 +407,6 @@ unsigned ctdb_addr_to_port(ctdb_sock_addr *addr)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ctdb_block_signal(int signum)
|
||||
{
|
||||
sigset_t set;
|
||||
sigemptyset(&set);
|
||||
sigaddset(&set,signum);
|
||||
sigprocmask(SIG_BLOCK,&set,NULL);
|
||||
}
|
||||
|
||||
void ctdb_unblock_signal(int signum)
|
||||
{
|
||||
sigset_t set;
|
||||
sigemptyset(&set);
|
||||
sigaddset(&set,signum);
|
||||
sigprocmask(SIG_UNBLOCK,&set,NULL);
|
||||
}
|
||||
|
||||
struct debug_levels debug_levels[] = {
|
||||
{DEBUG_EMERG, "EMERG"},
|
||||
{DEBUG_ALERT, "ALERT"},
|
||||
|
@ -1367,8 +1367,6 @@ int32_t ctdb_control_db_get_health(struct ctdb_context *ctdb,
|
||||
int ctdb_vacuum(struct ctdb_context *ctdb, int argc, const char **argv);
|
||||
int ctdb_repack(struct ctdb_context *ctdb, int argc, const char **argv);
|
||||
|
||||
void ctdb_block_signal(int signum);
|
||||
void ctdb_unblock_signal(int signum);
|
||||
int32_t ctdb_monitoring_mode(struct ctdb_context *ctdb);
|
||||
bool ctdb_stopped_monitoring(struct ctdb_context *ctdb);
|
||||
int ctdb_set_child_logging(struct ctdb_context *ctdb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user