mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Remove compatibility code for setproctitle() now moved to libreplace.
This commit is contained in:
parent
fd8d4ec347
commit
78cb9fd91b
@ -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);
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user