From: Jelmer Vernooij Date: Mon, 24 Sep 2012 07:42:15 +0000 (+0200) Subject: Remove compatibility code for setproctitle() now moved to libreplace. X-Git-Tag: talloc-2.0.8~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78cb9fd91bc1ac73ad1a1deb8c9423f88729b707;p=thirdparty%2Fsamba.git Remove compatibility code for setproctitle() now moved to libreplace. --- diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c index e4a519a1d58..24ae4cfca2c 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 -#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 dd5f9589745..c5377b34e08 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 -#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