From: Volker Lendecke Date: Fri, 10 Oct 2025 13:50:56 +0000 (+0200) Subject: smbd: Make fsp_set_gen_id() static X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcda7f636e036109ef80adeb5c78934e73913976;p=thirdparty%2Fsamba.git smbd: Make fsp_set_gen_id() static Only called from files.c Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index cc6ae87fa5c..b0530daf155 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -88,7 +88,7 @@ fail: return NULL; } -void fsp_set_gen_id(files_struct *fsp) +static void fsp_set_gen_id(files_struct *fsp) { static uint64_t gen_id = UINT32_MAX; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index cd1a9e08906..6a7a524cfc5 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -317,7 +317,6 @@ NTSTATUS get_real_filename_at(struct files_struct *dirfsp, struct files_struct *fsp_new(TALLOC_CTX *mem_ctx, struct connection_struct *conn); -void fsp_set_gen_id(files_struct *fsp); NTSTATUS file_new(struct smb_request *req, connection_struct *conn, files_struct **result); NTSTATUS fsp_bind_smb(struct files_struct *fsp, struct smb_request *req);