From 3fed78e5b08f78256e533788b4bcd6502b0949d7 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 10 Jan 2010 00:37:03 +0100 Subject: Replace setproctitle dummy macro with a function stub This way we can replace it later on with a real implementation so that applications can immediately benefit from it w/o the need to recompile them. --- include/bsd/sys/cdefs.h | 4 ---- include/bsd/unistd.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'include/bsd') diff --git a/include/bsd/sys/cdefs.h b/include/bsd/sys/cdefs.h index a0b7860..4d9aa49 100644 --- a/include/bsd/sys/cdefs.h +++ b/include/bsd/sys/cdefs.h @@ -29,10 +29,6 @@ #include -#ifndef setproctitle -# define setproctitle(fmt, args...) -#endif - #ifndef __dead2 # define __dead2 #endif diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h index 16855ec..f9f7874 100644 --- a/include/bsd/unistd.h +++ b/include/bsd/unistd.h @@ -37,6 +37,8 @@ __BEGIN_DECLS mode_t getmode(const void *set, mode_t mode); void *setmode(const char *mode_str); + +void setproctitle(const char *fmt, ...); __END_DECLS #endif -- cgit v1.2.3