mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
ctdb-daemon: Move some inline declarations to header file
To avoid warnings when using --enable-developer, which uses -Wmissing-prototypes. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
6336b958d6
commit
a81dccf7ad
@ -1076,6 +1076,8 @@ void ctdb_disable_monitoring(struct ctdb_context *ctdb);
|
||||
void ctdb_enable_monitoring(struct ctdb_context *ctdb);
|
||||
void ctdb_stop_monitoring(struct ctdb_context *ctdb);
|
||||
void ctdb_wait_for_first_recovery(struct ctdb_context *ctdb);
|
||||
int ctdb_tcp_init(struct ctdb_context *ctdb);
|
||||
int ctdb_ibw_init(struct ctdb_context *ctdb);
|
||||
void ctdb_start_tcp_tickle_update(struct ctdb_context *ctdb);
|
||||
void ctdb_send_keepalive(struct ctdb_context *ctdb, uint32_t destnode);
|
||||
void ctdb_start_keepalive(struct ctdb_context *ctdb);
|
||||
|
@ -1230,12 +1230,10 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork, bool use_syslog)
|
||||
ctdb_run_notification_script(ctdb, "init");
|
||||
|
||||
if (strcmp(ctdb->transport, "tcp") == 0) {
|
||||
int ctdb_tcp_init(struct ctdb_context *);
|
||||
ret = ctdb_tcp_init(ctdb);
|
||||
}
|
||||
#ifdef USE_INFINIBAND
|
||||
if (strcmp(ctdb->transport, "ib") == 0) {
|
||||
int ctdb_ibw_init(struct ctdb_context *);
|
||||
ret = ctdb_ibw_init(ctdb);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user