From ed3b4661fd29a3523c59007ebb7e7bf97786025c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 1 Aug 2017 15:11:09 +0200 Subject: [PATCH] winbindd: Make wcache_query_user static Signed-off-by: Volker Lendecke Reviewed-by: Martin Schwenke --- source3/winbindd/winbindd_cache.c | 8 ++++---- source3/winbindd/winbindd_proto.h | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index ce5e5cdfa30..b92eba030ae 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -2223,10 +2223,10 @@ NTSTATUS wb_cache_rids_to_names(struct winbindd_domain *domain, return result; } -NTSTATUS wcache_query_user(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - const struct dom_sid *user_sid, - struct wbint_userinfo *info) +static NTSTATUS wcache_query_user(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + const struct dom_sid *user_sid, + struct wbint_userinfo *info) { 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 6aa0ed99b6b..7560fc53bae 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -148,10 +148,6 @@ void cache_name2sid_trusted(struct winbindd_domain *domain, void cache_name2sid(struct winbindd_domain *domain, const char *domain_name, const char *name, enum lsa_SidType type, const struct dom_sid *sid); -NTSTATUS wcache_query_user(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - const struct dom_sid *user_sid, - struct wbint_userinfo *info); NTSTATUS wcache_query_user_fullname(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const struct dom_sid *user_sid,