summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c2
-rw-r--r--source4/ntvfs/common/init.c2
-rw-r--r--source4/ntvfs/nbench/vfs_nbench.c2
-rw-r--r--source4/ntvfs/print/vfs_print.c2
-rw-r--r--source4/ntvfs/smb2/vfs_smb2.c2
-rw-r--r--source4/ntvfs/sysdep/sys_lease_linux.c2
-rw-r--r--source4/ntvfs/unixuid/vfs_unixuid.c2
7 files changed, 14 insertions, 0 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index a8cd89a2ec..27bf1ead24 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -63,6 +63,8 @@ struct async_info {
void *parms;
};
+NTSTATUS ntvfs_cifs_init(void);
+
#define CHECK_UPSTREAM_OPEN do { \
if (! p->transport->socket->sock) { \
req->async_states->state|=NTVFS_ASYNC_STATE_CLOSE; \
diff --git a/source4/ntvfs/common/init.c b/source4/ntvfs/common/init.c
index e0f5a9d2aa..f8f8e27e2e 100644
--- a/source4/ntvfs/common/init.c
+++ b/source4/ntvfs/common/init.c
@@ -26,6 +26,8 @@
#include "includes.h"
#include "ntvfs/sysdep/sys_notify.h"
+NTSTATUS ntvfs_common_init(void);
+
NTSTATUS ntvfs_common_init(void)
{
return sys_notify_init();
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c
index 72873a19c2..35cd86f34d 100644
--- a/source4/ntvfs/nbench/vfs_nbench.c
+++ b/source4/ntvfs/nbench/vfs_nbench.c
@@ -27,6 +27,8 @@
#include "ntvfs/ntvfs.h"
#include "system/filesys.h"
+NTSTATUS ntvfs_nbench_init(void);
+
/* this is stored in ntvfs_private */
struct nbench_private {
int log_fd;
diff --git a/source4/ntvfs/print/vfs_print.c b/source4/ntvfs/print/vfs_print.c
index 06c9dfcc2f..24804632fb 100644
--- a/source4/ntvfs/print/vfs_print.c
+++ b/source4/ntvfs/print/vfs_print.c
@@ -26,6 +26,8 @@
#include "ntvfs/ntvfs.h"
#include "param/param.h"
+NTSTATUS ntvfs_print_init(void);
+
/*
connect to a share - used when a tree_connect operation comes
in. For printing shares this should check that the spool directory
diff --git a/source4/ntvfs/smb2/vfs_smb2.c b/source4/ntvfs/smb2/vfs_smb2.c
index b2c90f5908..6c78997686 100644
--- a/source4/ntvfs/smb2/vfs_smb2.c
+++ b/source4/ntvfs/smb2/vfs_smb2.c
@@ -41,6 +41,8 @@
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+NTSTATUS ntvfs_smb2_init(void);
+
struct cvfs_file {
struct cvfs_file *prev, *next;
uint16_t fnum;
diff --git a/source4/ntvfs/sysdep/sys_lease_linux.c b/source4/ntvfs/sysdep/sys_lease_linux.c
index d1473627a7..c0fb4335d9 100644
--- a/source4/ntvfs/sysdep/sys_lease_linux.c
+++ b/source4/ntvfs/sysdep/sys_lease_linux.c
@@ -30,6 +30,8 @@
#include "../lib/util/dlinklist.h"
#include "cluster/cluster.h"
+NTSTATUS sys_lease_linux_init(void);
+
#define LINUX_LEASE_RT_SIGNAL (SIGRTMIN+1)
struct linux_lease_pending {
diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c
index c37b46e627..a8a4a98dd0 100644
--- a/source4/ntvfs/unixuid/vfs_unixuid.c
+++ b/source4/ntvfs/unixuid/vfs_unixuid.c
@@ -39,6 +39,8 @@
#endif
+NTSTATUS ntvfs_unixuid_init(void);
+
struct unixuid_private {
struct wbc_context *wbc_ctx;
struct unix_sec_ctx *last_sec_ctx;