diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify_kernel.c | 2 | ||||
-rw-r--r-- | source3/smbd/oplock_linux.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/notify_kernel.c b/source3/smbd/notify_kernel.c index c368fd79a1..5c9d885eed 100644 --- a/source3/smbd/notify_kernel.c +++ b/source3/smbd/notify_kernel.c @@ -243,5 +243,7 @@ struct cnotify_fns *kernel_notify_init(void) } #else + void notify_kernel_dummy(void); + void notify_kernel_dummy(void) {} #endif /* HAVE_KERNEL_CHANGE_NOTIFY */ diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index 5d6bdb9883..6d1bc64ce1 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/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 */ |