diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/process_standard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index f5dda11680..a426a2473b 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -39,8 +39,9 @@ #include <setproctitle.h> #endif #else -static int setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2); -static int setproctitle(const char *fmt, ...) +#define setproctitle none_setproctitle +static int none_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2); +static int none_setproctitle(const char *fmt, ...) { return 0; } |