summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:43:15 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:04 +0100
commitc104e4ca5436a4c6feab9c40e0286529a8636f7b (patch)
tree4dfac76287c89dfe8af832bedf96f10352cc288a /source4
parente02f1cd9b1fcea8c6c3ac6603688c669494d8d6b (diff)
downloadsamba-c104e4ca5436a4c6feab9c40e0286529a8636f7b.tar.gz
samba-c104e4ca5436a4c6feab9c40e0286529a8636f7b.tar.bz2
samba-c104e4ca5436a4c6feab9c40e0286529a8636f7b.zip
source4/smbd: Fix prototypes for all functions.
Diffstat (limited to 'source4')
-rw-r--r--source4/smbd/pidfile.c1
-rw-r--r--source4/smbd/process_onefork.c2
-rw-r--r--source4/smbd/process_prefork.c2
-rw-r--r--source4/smbd/process_single.c2
-rw-r--r--source4/smbd/process_standard.c2
5 files changed, 9 insertions, 0 deletions
diff --git a/source4/smbd/pidfile.c b/source4/smbd/pidfile.c
index de93a0390c..71a203b73e 100644
--- a/source4/smbd/pidfile.c
+++ b/source4/smbd/pidfile.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "smbd/pidfile.h"
/**
* @file
diff --git a/source4/smbd/process_onefork.c b/source4/smbd/process_onefork.c
index 59e583dca3..979a8e10ad 100644
--- a/source4/smbd/process_onefork.c
+++ b/source4/smbd/process_onefork.c
@@ -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
*/
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index 66222af63f..a0aaf9290a 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -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
*/
diff --git a/source4/smbd/process_single.c b/source4/smbd/process_single.c
index 7678a912f9..e1af2d48e8 100644
--- a/source4/smbd/process_single.c
+++ b/source4/smbd/process_single.c
@@ -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
*/
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index c5cd9fd5b8..6857674e7f 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -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 */