From c104e4ca5436a4c6feab9c40e0286529a8636f7b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:43:15 +0100 Subject: [PATCH] source4/smbd: Fix prototypes for all functions. --- source4/smbd/pidfile.c | 1 + source4/smbd/process_onefork.c | 2 ++ source4/smbd/process_prefork.c | 2 ++ source4/smbd/process_single.c | 2 ++ source4/smbd/process_standard.c | 2 ++ 5 files changed, 9 insertions(+) diff --git a/source4/smbd/pidfile.c b/source4/smbd/pidfile.c index de93a0390ce..71a203b73e9 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 59e583dca37..979a8e10ad0 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 66222af63f7..a0aaf9290a1 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 7678a912f98..e1af2d48e86 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 c5cd9fd5b8e..6857674e7fe 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 */ -- 2.11.4.GIT