s3: Make winbindd_register_handlers static
authorVolker Lendecke <vl@samba.org>
Fri, 19 Oct 2012 16:06:46 +0000 (18:06 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Oct 2012 19:29:13 +0000 (21:29 +0200)
source3/winbindd/winbindd.c
source3/winbindd/winbindd_proto.h

index eba5b091aaea27c80e2b7558d28c9eb541170b75..578b21d1c7f9d09c38b0e02d13b687d2b5cc08e1 100644 (file)
@@ -1074,7 +1074,7 @@ bool winbindd_use_cache(void)
        return !opt_nocache;
 }
 
-void winbindd_register_handlers(bool foreground)
+static void winbindd_register_handlers(bool foreground)
 {
        /* Setup signal handlers */
 
index 5cc90f2ab0247156674ee051d0d33417d18a93b9..bf8dbf77b16b6e5ce097de0a741cec775ff5588d 100644 (file)
@@ -32,7 +32,6 @@ bool winbindd_setup_stdin_handler(bool parent, bool foreground);
 bool winbindd_setup_sig_hup_handler(const char *lfile);
 bool winbindd_use_idmap_cache(void);
 bool winbindd_use_cache(void);
-void winbindd_register_handlers(bool foreground);
 const char *get_winbind_pipe_dir(void);
 char *get_winbind_priv_pipe_dir(void);
 int main(int argc, char **argv, char **envp);