Remove compatibility code for setproctitle() now moved to libreplace.
[samba.git] / source4 / smbd / process_prefork.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);
 
 /*