From ffe1883d7d68dd933b6fa41e3af722e8688ff882 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 1 Aug 2025 16:10:48 +0200 Subject: [PATCH] s3-winbind: make wcache_store_seqnum static Guenther BUG: https://bugzilla.samba.org/show_bug.cgi?id=15963 Signed-off-by: Guenther Deschner Reviewed-by: Andreas Schneider --- source3/winbindd/winbindd_cache.c | 4 ++-- source3/winbindd/winbindd_proto.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 1fb1a2f24ca..487bd1905bb 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -505,8 +505,8 @@ static NTSTATUS fetch_cache_seqnum( struct winbindd_domain *domain, time_t now ) return NT_STATUS_OK; } -bool wcache_store_seqnum(const char *domain_name, uint32_t seqnum, - time_t last_seq_check) +static bool wcache_store_seqnum(const char *domain_name, uint32_t seqnum, + time_t last_seq_check) { size_t len = strlen(domain_name); char keystr[len+8]; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index ae41923b244..165b95f8294 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -178,8 +178,6 @@ bool wcache_tdc_fetch_list( struct winbindd_tdc_domain **domains, size_t *num_do bool wcache_tdc_add_domain( struct winbindd_domain *domain ); struct winbindd_tdc_domain * wcache_tdc_fetch_domain( TALLOC_CTX *ctx, const char *name ); void wcache_tdc_clear( void ); -bool wcache_store_seqnum(const char *domain_name, uint32_t seqnum, - time_t last_seq_check); bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain, uint32_t opnum, const DATA_BLOB *req, DATA_BLOB *resp); void wcache_store_ndr(struct winbindd_domain *domain, uint32_t opnum, -- 2.47.3