From f5c3742a4c1050fe6eb76f3ee8eb20fa4120b70f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:43:42 +0100 Subject: source4/ntvfs: Fix prototypes for all functions. --- source4/ntvfs/cifs/vfs_cifs.c | 2 ++ source4/ntvfs/common/init.c | 2 ++ source4/ntvfs/nbench/vfs_nbench.c | 2 ++ source4/ntvfs/print/vfs_print.c | 2 ++ source4/ntvfs/smb2/vfs_smb2.c | 2 ++ source4/ntvfs/sysdep/sys_lease_linux.c | 2 ++ source4/ntvfs/unixuid/vfs_unixuid.c | 2 ++ 7 files changed, 14 insertions(+) (limited to 'source4/ntvfs') 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; -- cgit