summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wb_common.c12
-rw-r--r--nsswitch/winbind_client.h5
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,