diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-06 17:09:56 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-08 13:42:20 +0100 |
commit | bdff4591ca80b0589954e812d8fe498038c87837 (patch) | |
tree | 49018609bf4d1fae0d77284c9e14c06dbf6b9f75 /source3 | |
parent | 61b2ac91210a1d34f47cb480c222b9ae64546180 (diff) | |
download | samba-bdff4591ca80b0589954e812d8fe498038c87837.tar.gz samba-bdff4591ca80b0589954e812d8fe498038c87837.tar.bz2 samba-bdff4591ca80b0589954e812d8fe498038c87837.zip |
s3: Fix some warnings in the zfsacl module
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 8 13:42:20 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_zfsacl.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index 4c11f09477..98c9bcf760 100644 --- a/source3/modules/vfs_zfsacl.c +++ b/source3/modules/vfs_zfsacl.c @@ -254,36 +254,36 @@ static NTSTATUS zfsacl_fset_nt_acl(vfs_handle_struct *handle, Function declarations taken from vfs_solarisacl */ -SMB_ACL_T zfsacl_fail__sys_acl_get_file(vfs_handle_struct *handle, - const char *path_p, - SMB_ACL_TYPE_T type) +static SMB_ACL_T zfsacl_fail__sys_acl_get_file(vfs_handle_struct *handle, + const char *path_p, + SMB_ACL_TYPE_T type) { return (SMB_ACL_T)NULL; } -SMB_ACL_T zfsacl_fail__sys_acl_get_fd(vfs_handle_struct *handle, - files_struct *fsp, - int fd) + +static SMB_ACL_T zfsacl_fail__sys_acl_get_fd(vfs_handle_struct *handle, + files_struct *fsp) { return (SMB_ACL_T)NULL; } -int zfsacl_fail__sys_acl_set_file(vfs_handle_struct *handle, - const char *name, - SMB_ACL_TYPE_T type, - SMB_ACL_T theacl) +static int zfsacl_fail__sys_acl_set_file(vfs_handle_struct *handle, + const char *name, + SMB_ACL_TYPE_T type, + SMB_ACL_T theacl) { return -1; } -int zfsacl_fail__sys_acl_set_fd(vfs_handle_struct *handle, - files_struct *fsp, - int fd, SMB_ACL_T theacl) +static int zfsacl_fail__sys_acl_set_fd(vfs_handle_struct *handle, + files_struct *fsp, + SMB_ACL_T theacl) { return -1; } -int zfsacl_fail__sys_acl_delete_def_file(vfs_handle_struct *handle, - const char *path) +static int zfsacl_fail__sys_acl_delete_def_file(vfs_handle_struct *handle, + const char *path) { return -1; } |