diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
commit | 2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (patch) | |
tree | 0d39ec2fce365780c207175801002edbb4f3f8ba /source3/modules | |
parent | 0b62cdbed0867d0712821953700062727f668c65 (diff) | |
download | samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.gz samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.xz samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_solarisacl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c index 7bdfe8465b1..cafb077555d 100644 --- a/source3/modules/vfs_solarisacl.c +++ b/source3/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 */ |