From: Volker Lendecke Date: Fri, 18 Jul 2008 08:01:39 +0000 (+0200) Subject: Fix the build of vfs_zfsacl.c X-Git-Tag: samba-3.3.0pre1~469 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b46ce28039e8829f5188574ebe84ff3b7d9e65bc;p=thirdparty%2Fsamba.git Fix the build of vfs_zfsacl.c (cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) --- diff --git a/source/modules/vfs_zfsacl.c b/source/modules/vfs_zfsacl.c index e8a0507aa4e..e933e473172 100644 --- a/source/modules/vfs_zfsacl.c +++ b/source/modules/vfs_zfsacl.c @@ -224,23 +224,8 @@ static vfs_op_tuple zfsacl_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; -/* != 0 if this module will be compiled as static */ - -#define STATIC 0 - -#if STATIC NTSTATUS vfs_zfsacl_init(void); -#else -NTSTATUS init_module(void); -#endif - -NTSTATUS -#if STATIC - vfs_zfsacl_init -#else - init_module -#endif - (void) +NTSTATUS vfs_zfsacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "zfsacl", zfsacl_ops);