diff options
author | Volker Lendecke <vl@samba.org> | 2018-05-02 21:22:45 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2018-05-17 08:44:20 +0200 |
commit | 70ce35d528d9118f138de6688f94176d18bf6599 (patch) | |
tree | 252a2da16256cd57abb54197fc46599176cc7c5c /source3/winbindd | |
parent | 0e4e2a088398c6fa3c42b69e009fc40b500c7453 (diff) | |
download | samba-70ce35d528d9118f138de6688f94176d18bf6599.tar.gz |
winbindd: Make "request_ok()" static to winbindd.c
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd.c | 3 | ||||
-rw-r--r-- | 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); |