source4/smbd: Fix prototypes for all functions.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Mar 2011 23:43:15 +0000 (00:43 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 02:20:04 +0000 (03:20 +0100)
source4/smbd/pidfile.c
source4/smbd/process_onefork.c
source4/smbd/process_prefork.c
source4/smbd/process_single.c
source4/smbd/process_standard.c

index de93a0390ce10d066d122324785c0843e241b95d..71a203b73e947824d62b69064627bae0213d773d 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "system/filesys.h"
+#include "smbd/pidfile.h"
 
 /**
  * @file
index 59e583dca37643637252ea3cbd7ceb0a224e1f53..979a8e10ad0f4a2d085b5975f3a692a989e60943 100644 (file)
@@ -45,6 +45,8 @@ static int none_setproctitle(const char *fmt, ...)
 }
 #endif
 
+NTSTATUS process_model_onefork_init(void);
+
 /*
   called when the process model is selected
 */
index 66222af63f7590f1fbacb8acb68fc08eb21e9282..a0aaf9290a1afadda4957320cf5b2ba33b80f97e 100644 (file)
@@ -45,6 +45,8 @@ static int none_setproctitle(const char *fmt, ...)
 }
 #endif
 
+NTSTATUS process_model_prefork_init(void);
+
 /*
   called when the process model is selected
 */
index 7678a912f982f864c91976bfb60770ccf0d83afe..e1af2d48e86c0c05f659c41f1e05931b8af4e8e3 100644 (file)
@@ -26,6 +26,8 @@
 #include "system/filesys.h"
 #include "cluster/cluster.h"
 
+NTSTATUS process_model_single_init(void);
+
 /*
   called when the process model is selected
 */
index c5cd9fd5b8eefef169a6ff1a58049e1ada1fb783..6857674e7fe7bf44a61baba2567d5deafcff6e9e 100644 (file)
@@ -42,6 +42,8 @@ static int none_setproctitle(const char *fmt, ...)
 }
 #endif
 
+NTSTATUS process_model_standard_init(void);
+
 /* we hold a pipe open in the parent, and the any child
    processes wait for EOF on that pipe. This ensures that
    children die when the parent dies */