nsswitch: Make two functions static
authorVolker Lendecke <vl@samba.org>
Fri, 4 May 2018 12:40:12 +0000 (14:40 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 24 Jul 2018 18:36:50 +0000 (20:36 +0200)
nss_irix was the only external user

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/wb_common.c
nsswitch/winbind_client.h

index 6768fde535b052210d897e8b74a46fb6e2a0ba86..df32789e1774ccb0e5fd7132ab6ee8d079712974 100644 (file)
@@ -632,9 +632,11 @@ static int winbindd_read_reply(struct winbindd_context *ctx,
  * send simple types of requests
  */
 
  * 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;
 
 {
        struct winbindd_request lrequest;
 
@@ -682,8 +684,8 @@ NSS_STATUS winbindd_send_request(struct winbindd_context *ctx,
  * Get results from winbindd request
  */
 
  * 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;
 
 {
        struct winbindd_response lresponse;
 
index d6b46fcc4f0088dca409aadf373c79929efb0de6..fd39ea39b4e0d0f9175408f16a50f3ef0198f8c2 100644 (file)
@@ -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);
 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,
 NSS_STATUS winbindd_request_response(struct winbindd_context *ctx,
                                     int req_type,
                                     struct winbindd_request *request,