Remove compatibility code for setproctitle() now moved to libreplace.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 24 Sep 2012 07:42:15 +0000 (09:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Oct 2012 06:41:44 +0000 (08:41 +0200)
source4/smbd/process_prefork.c
source4/smbd/process_standard.c

index e4a519a1d586d4f2074ef027d3313c4628862357..24ae4cfca2cf7840607e9f0de1c92a272907cdd1 100644 (file)
 #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);
 
 /*
index dd5f9589745c8e8009af202b1c98b75ed8314c20..c5377b34e08516a7d2209b40ec5f2648d269cfae 100644 (file)
 #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