Fix the build of vfs_zfsacl.c
authorVolker Lendecke <vl@samba.org>
Fri, 18 Jul 2008 08:01:39 +0000 (10:01 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 20 Jul 2008 17:50:01 +0000 (19:50 +0200)
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda)

source/modules/vfs_zfsacl.c

index ce2e28771f7ca1193b6c037dd4d379602250b26a..6fdf6e6bc12fdfbbd11418b1fa53d450a84c2da9 100644 (file)
@@ -234,23 +234,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);