summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-18 10:01:39 +0200
committerVolker Lendecke <vl@samba.org>2008-07-18 17:53:58 +0200
commitbdd815e554fba73804ec69043ea2e4fb119f75fe (patch)
treeb65615c8f76fd0c7bda1091d2594d42fb4cc7077 /source3
parentc703304f557021c78ba0ad24e9b2e7b42147b8fd (diff)
downloadsamba-bdd815e554fba73804ec69043ea2e4fb119f75fe.tar.gz
samba-bdd815e554fba73804ec69043ea2e4fb119f75fe.tar.bz2
samba-bdd815e554fba73804ec69043ea2e4fb119f75fe.zip
Fix the build of vfs_zfsacl.c
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) (This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_zfsacl.c17
1 files changed, 1 insertions, 16 deletions
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);