From: Samuel Cabrero Date: Wed, 2 Mar 2022 17:21:09 +0000 (+0100) Subject: s3:winbind: Rename terminate() function to winbindd_terminate() X-Git-Tag: tevent-0.12.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1903cf39da37660c44df58649b3795bf74799953;p=thirdparty%2Fsamba.git s3:winbind: Rename terminate() function to winbindd_terminate() Signed-off-by: Samuel Cabrero Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 088773b6b4c..8a472b17300 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -114,7 +114,7 @@ static void flush_caches_noinit(void) /* Handle the signal by unlinking socket and exiting */ -static void terminate(bool is_parent) +static void winbindd_terminate(bool is_parent) { if (is_parent) { /* When parent goes away we should @@ -165,7 +165,7 @@ static void winbindd_sig_term_handler(struct tevent_context *ev, DEBUG(0,("Got sig[%d] terminate (is_parent=%d)\n", signum, is_parent)); - terminate(is_parent); + winbindd_terminate(is_parent); } /* @@ -184,7 +184,7 @@ static void winbindd_stdin_handler(struct tevent_context *ev, parent has exited. Shutdown the server */ DEBUG(0,("EOF on stdin (is_parent=%d)\n", (int)*is_parent)); - terminate(*is_parent); + winbindd_terminate(*is_parent); } } @@ -375,7 +375,7 @@ static void msg_shutdown(struct messaging_context *msg, { /* only the parent waits for this message */ DEBUG(0,("Got shutdown message\n")); - terminate(true); + winbindd_terminate(true); }