source4/ntvfs: Fix prototypes for all functions.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Mar 2011 23:43:42 +0000 (00:43 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000 (03:20 +0100)
source4/ntvfs/cifs/vfs_cifs.c
source4/ntvfs/common/init.c
source4/ntvfs/nbench/vfs_nbench.c
source4/ntvfs/print/vfs_print.c
source4/ntvfs/smb2/vfs_smb2.c
source4/ntvfs/sysdep/sys_lease_linux.c
source4/ntvfs/unixuid/vfs_unixuid.c

index a8cd89a2ec6d27ad655b083ee4ad0e29c2db9400..27bf1ead2418cee901f8e11a6800d0049475a1a9 100644 (file)
@@ -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; \
index e0f5a9d2aa1e12a151bb4a69d03c472c8070dc88..f8f8e27e2e1e24f29d59e634ebeb3d12bdaa5001 100644 (file)
@@ -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();
index 72873a19c2afb9804eb2da64bd1d81ccf9e64766..35cd86f34db4d001f04eadad391e92c499d33ecc 100644 (file)
@@ -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;
index 06c9dfcc2f528df6315dcac0201bcf3dea2d20e0..24804632fb8e8ebbb8c13a988fbe362ebe49b53e 100644 (file)
@@ -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
index b2c90f59081a0b9770af154a6f685c224719f796..6c789976869d61cc1abb0fe8abcaec6d5e529a6a 100644 (file)
@@ -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;
index d1473627a7db3be3dde4a16ce7505783bb4bf87d..c0fb4335d9661b00fe89bf53e817825c56dddb9f 100644 (file)
@@ -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 {
index c37b46e627cb51a4363e7794e8b82a444687be68..a8a4a98dd07ae2351531e3244d42252203fecd62 100644 (file)
@@ -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;