1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

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>
This commit is contained in:
Volker Lendecke 2018-05-04 14:40:12 +02:00 committed by Jeremy Allison
parent 3c9b88ba1c
commit d4c6b00922
2 changed files with 7 additions and 10 deletions

View File

@ -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;

View 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);
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,