winbindd: Make "request_ok()" static to winbindd.c
authorVolker Lendecke <vl@samba.org>
Wed, 2 May 2018 19:22:45 +0000 (21:22 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 17 May 2018 06:44:20 +0000 (08:44 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd.c
source3/winbindd/winbindd_proto.h

index 8ad16b8ca58ea392247b25b85f1b36c113742cd6..d38d1d4fd029050ceaed81dc6bc742cb9ff94b6f 100644 (file)
@@ -54,6 +54,7 @@
 static bool client_is_idle(struct winbindd_cli_state *state);
 static void remove_client(struct winbindd_cli_state *state);
 static void winbindd_setup_max_fds(void);
+static void request_ok(struct winbindd_cli_state *state);
 
 static bool opt_nocache = False;
 static bool interactive = False;
@@ -864,7 +865,7 @@ void request_error(struct winbindd_cli_state *state)
        request_finished(state);
 }
 
-void request_ok(struct winbindd_cli_state *state)
+static void request_ok(struct winbindd_cli_state *state)
 {
        SMB_ASSERT(state->response->result == WINBINDD_PENDING);
        state->response->result = WINBINDD_OK;
index 3b5423e48e2564891dac7c729b646d0a92d15918..0bc99fc3bbc2823a77f3e7958a2be4141f4bf21a 100644 (file)
@@ -26,7 +26,6 @@
 /* The following definitions come from winbindd/winbindd.c  */
 struct imessaging_context *winbind_imessaging_context(void);
 void request_error(struct winbindd_cli_state *state);
-void request_ok(struct winbindd_cli_state *state);
 bool winbindd_setup_sig_term_handler(bool parent);
 bool winbindd_setup_stdin_handler(bool parent, bool foreground);
 bool winbindd_setup_sig_hup_handler(const char *lfile);