From: Jeremy Allison Date: Tue, 8 Jun 2021 22:21:59 +0000 (-0700) Subject: s3: VFS: hpuxacl: Make hpuxacl_sys_acl_get_file() static. X-Git-Tag: tevent-0.11.0~489 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1298c3f7c3932ac401d32c583a41a3db39ebf77;p=thirdparty%2Fsamba.git s3: VFS: hpuxacl: Make hpuxacl_sys_acl_get_file() static. Called internally as HPUX has no fd-based acl functions. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index 21e25491611..25b14ce1e10 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -138,7 +138,7 @@ static bool hpux_aclsort_call_present(void); /* public functions - the api */ -SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle, +static SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle, const struct smb_filename *smb_fname, SMB_ACL_TYPE_T type, TALLOC_CTX *mem_ctx) @@ -1157,7 +1157,6 @@ static bool hpux_acl_check(HPUX_ACL_T hpux_acl, int count) /* VFS operations structure */ static struct vfs_fn_pointers hpuxacl_fns = { - .sys_acl_get_file_fn = hpuxacl_sys_acl_get_file, .sys_acl_get_fd_fn = hpuxacl_sys_acl_get_fd, .sys_acl_blob_get_file_fn = posix_sys_acl_blob_get_file, .sys_acl_blob_get_fd_fn = posix_sys_acl_blob_get_fd,