summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smbd/process_prefork.c13
-rw-r--r--source4/smbd/process_standard.c13
2 files changed, 0 insertions, 26 deletions
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index e4a519a1d5..24ae4cfca2 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -32,19 +32,6 @@
#include "param/param.h"
#include "ldb_wrap.h"
-#ifdef HAVE_SETPROCTITLE
-#ifdef HAVE_SETPROCTITLE_H
-#include <setproctitle.h>
-#endif
-#else
-#define setproctitle none_setproctitle
-static int none_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
-static int none_setproctitle(const char *fmt, ...)
-{
- return 0;
-}
-#endif
-
NTSTATUS process_model_prefork_init(void);
/*
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index dd5f958974..c5377b34e0 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -29,19 +29,6 @@
#include "param/param.h"
#include "ldb_wrap.h"
-#ifdef HAVE_SETPROCTITLE
-#ifdef HAVE_SETPROCTITLE_H
-#include <setproctitle.h>
-#endif
-#else
-#define setproctitle none_setproctitle
-static int none_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
-static int none_setproctitle(const char *fmt, ...)
-{
- return 0;
-}
-#endif
-
NTSTATUS process_model_standard_init(void);
/* we hold a pipe open in the parent, and the any child