s3: VFS: hpuxacl: Make hpuxacl_sys_acl_get_file() static.
authorJeremy Allison <jra@samba.org>
Tue, 8 Jun 2021 22:21:59 +0000 (15:21 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:31 +0000 (13:14 +0000)
Called internally as HPUX has no fd-based acl functions.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_hpuxacl.c

index 21e25491611cc3f2f5bcc56a40bfbe5e01571b00..25b14ce1e10d51a6e77448db672fd37019293e70 100644 (file)
@@ -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,