From: Volker Lendecke Date: Fri, 4 May 2018 12:40:12 +0000 (+0200) Subject: nsswitch: Make two functions static X-Git-Tag: ldb-1.5.0~212 X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=d4c6b009223c1ed6caf538c35b42e16c98e2bded nsswitch: Make two functions static nss_irix was the only external user Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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,