diff options
author | Volker Lendecke <vl@samba.org> | 2018-05-04 14:40:12 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-07-24 20:36:50 +0200 |
commit | d4c6b009223c1ed6caf538c35b42e16c98e2bded (patch) | |
tree | ef93e151596c7bc7cda6be23403d29a06a4765e2 /nsswitch | |
parent | 3c9b88ba1c79c6927e5e905afbef225de02eee9d (diff) | |
download | samba-d4c6b009223c1ed6caf538c35b42e16c98e2bded.tar.gz |
nsswitch: Make two functions static
nss_irix was the only external user
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/wb_common.c | 12 | ||||
-rw-r--r-- | nsswitch/winbind_client.h | 5 |
2 files changed, 7 insertions, 10 deletions
diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c index 6768fde535b..df32789e177 100644 --- a/nsswitch/wb_common.c +++ b/nsswitch/wb_common.c @@ -632,9 +632,11 @@ static int winbindd_read_reply(struct winbindd_context *ctx, * send simple types of requests */ -NSS_STATUS winbindd_send_request(struct winbindd_context *ctx, - int req_type, int need_priv, - struct winbindd_request *request) +static NSS_STATUS winbindd_send_request( + struct winbindd_context *ctx, + int req_type, + int need_priv, + struct winbindd_request *request) { struct winbindd_request lrequest; @@ -682,8 +684,8 @@ NSS_STATUS winbindd_send_request(struct winbindd_context *ctx, * Get results from winbindd request */ -NSS_STATUS winbindd_get_response(struct winbindd_context *ctx, - struct winbindd_response *response) +static NSS_STATUS winbindd_get_response(struct winbindd_context *ctx, + struct winbindd_response *response) { struct winbindd_response lresponse; diff --git a/nsswitch/winbind_client.h b/nsswitch/winbind_client.h index d6b46fcc4f0..fd39ea39b4e 100644 --- a/nsswitch/winbind_client.h +++ b/nsswitch/winbind_client.h @@ -35,11 +35,6 @@ struct winbindd_context *winbindd_ctx_create(void); void winbindd_ctx_free(struct winbindd_context *ctx); void winbindd_free_response(struct winbindd_response *response); -NSS_STATUS winbindd_send_request(struct winbindd_context *ctx, - int req_type, int need_priv, - struct winbindd_request *request); -NSS_STATUS winbindd_get_response(struct winbindd_context *ctx, - struct winbindd_response *response); NSS_STATUS winbindd_request_response(struct winbindd_context *ctx, int req_type, struct winbindd_request *request, |