From 70ce35d528d9118f138de6688f94176d18bf6599 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 2 May 2018 21:22:45 +0200 Subject: [PATCH] winbindd: Make "request_ok()" static to winbindd.c Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- source3/winbindd/winbindd.c | 3 ++- source3/winbindd/winbindd_proto.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 8ad16b8ca58..d38d1d4fd02 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -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; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 3b5423e48e2..0bc99fc3bbc 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -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); -- 2.34.1