From: Stefan Metzmacher Date: Thu, 24 May 2018 07:49:40 +0000 (+0200) Subject: smbd: make smbd_setup_sig_{term,hup}_handler() static X-Git-Tag: tevent-0.9.37~336 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=553df61946ae455839a40201250fb97269712e38;p=thirdparty%2Fsamba.git smbd: make smbd_setup_sig_{term,hup}_handler() static Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 936b5351de7..cf307b00072 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -966,7 +966,7 @@ static void smbd_sig_term_handler(struct tevent_context *ev, exit_server_cleanly("termination signal"); } -void smbd_setup_sig_term_handler(struct smbd_server_connection *sconn) +static void smbd_setup_sig_term_handler(struct smbd_server_connection *sconn) { struct tevent_signal *se; @@ -996,7 +996,7 @@ static void smbd_sig_hup_handler(struct tevent_context *ev, reload_services(sconn, conn_snum_used, false); } -void smbd_setup_sig_hup_handler(struct smbd_server_connection *sconn) +static void smbd_setup_sig_hup_handler(struct smbd_server_connection *sconn) { struct tevent_signal *se; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index e4d0cf44e9b..aacdeb44daf 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -824,8 +824,6 @@ NTSTATUS make_default_filesystem_acl( /* The following definitions come from smbd/process.c */ -void smbd_setup_sig_term_handler(struct smbd_server_connection *sconn); -void smbd_setup_sig_hup_handler(struct smbd_server_connection *sconn); bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer, bool no_signing, uint32_t seqnum, bool do_encrypt,