mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
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)
This commit is contained in:
parent
23cf97680b
commit
d12e9c4c3b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user