From: Günther Deschner Date: Fri, 25 Jul 2025 20:43:55 +0000 (+0200) Subject: s3-winbindd: make initialize_winbindd_cache() static X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6667f25507687c19f3d3eaa3301a7ccd2433d4e3;p=thirdparty%2Fsamba.git s3-winbindd: make initialize_winbindd_cache() static Guenther BUG: https://bugzilla.samba.org/show_bug.cgi?id=15963 Signed-off-by: Guenther Deschner Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 487bd1905bb..f67492b8408 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -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; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 165b95f8294..1b6a4f5d115 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -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,