]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-winbindd: make initialize_winbindd_cache() static
authorGünther Deschner <gd@samba.org>
Fri, 25 Jul 2025 20:43:55 +0000 (22:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 8 Dec 2025 08:56:33 +0000 (08:56 +0000)
Guenther

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15963

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_proto.h

index 487bd1905bbfa3eb7d9a383c8b4a54034a4aeaf8..f67492b8408154a5b56087ca76b1ded8b5afa06a 100644 (file)
@@ -3212,7 +3212,7 @@ static bool init_wcache(void)
  only opener.
 ************************************************************************/
 
-bool initialize_winbindd_cache(void)
+static bool initialize_winbindd_cache(void)
 {
        bool cache_bad = false;
        uint32_t vers = 0;
index 165b95f82947d024bd9fc75e66c68d5458b81a29..1b6a4f5d1158051aec416b48889de7d2e3d81d48 100644 (file)
@@ -143,7 +143,6 @@ void wcache_invalidate_samlogon(struct winbindd_domain *domain,
                                const struct dom_sid *user_sid);
 bool wcache_invalidate_cache(void);
 bool wcache_invalidate_cache_noinit(void);
-bool initialize_winbindd_cache(void);
 void close_winbindd_cache(void);
 bool lookup_cached_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
                       char **domain_name, char **name,