summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/setproctitle.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-31 18:32:27 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-31 18:32:27 +0000
commit9d709a294b81066a0942a7a642df1b3d4940ad26 (patch)
tree0bb37c5bd2622dba6b3fdeeeb92b1edaac6b1963 /avahi-daemon/setproctitle.h
parent2a3d0eaa15047ec792cddc1e7e821f525d718648 (diff)
avahi_set_proc_title(): change the process name with prctl() if available
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1300 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/setproctitle.h')
-rw-r--r--avahi-daemon/setproctitle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-daemon/setproctitle.h b/avahi-daemon/setproctitle.h
index 6ac7612..a8f2a1a 100644
--- a/avahi-daemon/setproctitle.h
+++ b/avahi-daemon/setproctitle.h
@@ -22,7 +22,9 @@
USA.
***/
+#include <avahi-common/gccmacro.h>
+
void avahi_init_proc_title(int argc, char **argv);
-void avahi_set_proc_title(const char *fmt, ...);
+void avahi_set_proc_title(const char *name, const char *fmt, ...) AVAHI_GCC_PRINTF_ATTR23;
#endif