diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-26 12:54:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:01 -0500 |
commit | d12e9c4c3b604f0af8fce49ca685a10474c253f8 (patch) | |
tree | d8511ac96c3317ec5ae810e3cf96f92e4e8bc3ad /source4/smbd | |
parent | 23cf97680bf957b78464316af4c26f39d65e299a (diff) | |
download | samba-d12e9c4c3b604f0af8fce49ca685a10474c253f8.tar.gz samba-d12e9c4c3b604f0af8fce49ca685a10474c253f8.tar.bz2 samba-d12e9c4c3b604f0af8fce49ca685a10474c253f8.zip |
r15277: - fix the build on netbsd, where stdlib.h has the setproctitle() prototype
but --with-setproctitle wasn't used
metze
(This used to be commit 0754154f5154e8285608c7f17e15aa223f04adea)
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; } |