From bdd815e554fba73804ec69043ea2e4fb119f75fe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 18 Jul 2008 10:01:39 +0200 Subject: Fix the build of vfs_zfsacl.c (cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) (This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc) --- source3/modules/vfs_zfsacl.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index e8a0507aa4..e933e47317 100644 --- a/source3/modules/vfs_zfsacl.c +++ b/source3/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); -- cgit