diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-09-24 09:42:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-09-24 23:06:07 +0200 |
commit | 78cb9fd91bc1ac73ad1a1deb8c9423f88729b707 (patch) | |
tree | a8d4eaff1847f42ddf71b9301f5c5e2347ba3353 | |
parent | fd8d4ec34785e71de3f8458222d196d454d0e723 (diff) | |
download | samba-78cb9fd91bc1ac73ad1a1deb8c9423f88729b707.tar.gz |
Remove compatibility code for setproctitle() now moved to libreplace.
-rw-r--r-- | source4/smbd/process_prefork.c | 13 | ||||
-rw-r--r-- | source4/smbd/process_standard.c | 13 |
2 files changed, 0 insertions, 26 deletions
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 <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 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 <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 |