From bdff4591ca80b0589954e812d8fe498038c87837 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Jan 2011 17:09:56 +0100 Subject: s3: Fix some warnings in the zfsacl module Autobuild-User: Volker Lendecke Autobuild-Date: Sat Jan 8 13:42:20 CET 2011 on sn-devel-104 --- source3/modules/vfs_zfsacl.c | 30 +++++++++++++++--------------- 1 file 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; } -- cgit