git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e1848
)
r15277: - fix the build on netbsd, where stdlib.h has the setproctitle() prototype
author
Stefan Metzmacher
<metze@samba.org>
Wed, 26 Apr 2006 12:54:52 +0000
(12:54 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:05:01 +0000
(14:05 -0500)
but --with-setproctitle wasn't used
metze
source/smbd/process_standard.c
patch
|
blob
|
history
diff --git
a/source/smbd/process_standard.c
b/source/smbd/process_standard.c
index f5dda116800b8ffdfa99f433767718405caacbc8..a426a2473bbda5a05f259c788fe53ad29401c96f 100644
(file)
--- a/
source/smbd/process_standard.c
+++ b/
source/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;
}