winbindd: Make wcache_lookup_useraliases static
authorVolker Lendecke <vl@samba.org>
Wed, 12 Jul 2017 11:14:44 +0000 (13:14 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 1 Aug 2017 05:53:21 +0000 (07:53 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_proto.h

index 2fb41cead8c28704c77dea8818a13e3538b22330..e19ffbc24435fea75975667692bf0d296aef51c1 100644 (file)
@@ -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;
index 9aa80631d1b6e613cd4c65a9b1ef6310beebd272..cbfb903c99d124f952daeae7746f96e8b4df0501 100644 (file)
@@ -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,