summaryrefslogtreecommitdiffstats
path: root/source/smbd/oplock_linux.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-05-02 17:49:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:46 -0500
commit173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9 (patch)
tree0ec3b4e036ab6b9454b23a474c1cc43eb8ad01d6 /source/smbd/oplock_linux.c
parent93ee9cfe22b60a35bb7f7c45c4c71a31665dca45 (diff)
downloadsamba-173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9.tar.gz
samba-173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9.tar.xz
samba-173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9.zip
r6586: get rid of a few more compiler warnings
Diffstat (limited to 'source/smbd/oplock_linux.c')
-rw-r--r--source/smbd/oplock_linux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/smbd/oplock_linux.c b/source/smbd/oplock_linux.c
index 5d6bdb98832..6d1bc64ce10 100644
--- a/source/smbd/oplock_linux.c
+++ b/source/smbd/oplock_linux.c
@@ -311,5 +311,7 @@ struct kernel_oplocks *linux_init_kernel_oplocks(void)
return &koplocks;
}
#else
+ void oplock_linux_dummy(void);
+
void oplock_linux_dummy(void) {}
#endif /* HAVE_KERNEL_OPLOCKS_LINUX */