From 91d4151bdf5e6d8905030e915068fff19e3a594b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 12 Jul 2017 13:14:44 +0200 Subject: [PATCH] winbindd: Make wcache_lookup_useraliases static Signed-off-by: Volker Lendecke Reviewed-by: Richard Sharpe --- source3/winbindd/winbindd_cache.c | 10 ++++++---- source3/winbindd/winbindd_proto.h | 4 ---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 2fb41cead8c..e19ffbc2443 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -2472,10 +2472,12 @@ static char *wcache_make_sidlist(TALLOC_CTX *mem_ctx, uint32_t num_sids, return sidlist; } -NTSTATUS wcache_lookup_useraliases(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, uint32_t num_sids, - const struct dom_sid *sids, - uint32_t *pnum_aliases, uint32_t **paliases) +static NTSTATUS wcache_lookup_useraliases(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + uint32_t num_sids, + const struct dom_sid *sids, + uint32_t *pnum_aliases, + uint32_t **paliases) { struct winbind_cache *cache = get_cache(domain); struct cache_entry *centry = NULL; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 9aa80631d1b..cbfb903c99d 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -157,10 +157,6 @@ NTSTATUS wcache_query_user_fullname(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const struct dom_sid *user_sid, const char **full_name); -NTSTATUS wcache_lookup_useraliases(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - uint32_t num_sids, const struct dom_sid *sids, - uint32_t *pnum_aliases, uint32_t **paliases); NTSTATUS wcache_lookup_usergroups(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const struct dom_sid *user_sid, -- 2.11.4.GIT