diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 15:42:52 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-02-24 08:35:17 +0100 |
commit | 733d4b54546d6c7c9350cf522d4980877edac6d4 (patch) | |
tree | 07dc7cde7c82b7a73b40fc63cc95671f95d89d21 /source/modules | |
parent | 1dd4404782ca2d12b3815e7e0fcb6e6045d690b0 (diff) | |
download | samba-733d4b54546d6c7c9350cf522d4980877edac6d4.tar.gz samba-733d4b54546d6c7c9350cf522d4980877edac6d4.tar.xz samba-733d4b54546d6c7c9350cf522d4980877edac6d4.zip |
More warning fixes for Solaris.
Jeremy.
(cherry picked from commit 6306dd0cab617930176fdde91641344ef403429b)
Diffstat (limited to 'source/modules')
-rw-r--r-- | source/modules/vfs_solarisacl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/modules/vfs_solarisacl.c b/source/modules/vfs_solarisacl.c index 7bdfe8465b1..cafb077555d 100644 --- a/source/modules/vfs_solarisacl.c +++ b/source/modules/vfs_solarisacl.c @@ -51,11 +51,12 @@ static bool solaris_add_to_acl(SOLARIS_ACL_T *solaris_acl, int *count, static bool solaris_acl_get_file(const char *name, SOLARIS_ACL_T *solarisacl, int *count); static bool solaris_acl_get_fd(int fd, SOLARIS_ACL_T *solarisacl, int *count); -static bool solaris_acl_sort(SOLARIS_ACL_T acl, int count); +static bool solaris_acl_sort(SOLARIS_ACL_T theacl, int count); static SMB_ACL_PERM_T solaris_perm_to_smb_perm(const SOLARIS_PERM_T perm); static SOLARIS_PERM_T smb_perm_to_solaris_perm(const SMB_ACL_PERM_T perm); +#if 0 static bool solaris_acl_check(SOLARIS_ACL_T solaris_acl, int count); - +#endif /* public functions - the api */ @@ -347,7 +348,6 @@ static bool smb_acl_to_solaris_acl(SMB_ACL_T smb_acl, { bool ret = False; int i; - int check_which, check_rc; DEBUG(10, ("entering smb_acl_to_solaris_acl\n")); @@ -717,6 +717,7 @@ static bool solaris_acl_sort(SOLARIS_ACL_T solaris_acl, int count) return True; } +#if 0 /* * acl check function: * unused at the moment but could be used to get more @@ -746,7 +747,7 @@ static bool solaris_acl_check(SOLARIS_ACL_T solaris_acl, int count) } return True; } - +#endif /* VFS operations structure */ |