diff options
author | Guillem Jover <guillem@hadrons.org> | 2010-01-10 00:37:03 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2010-01-10 15:29:50 +0100 |
commit | 3fed78e5b08f78256e533788b4bcd6502b0949d7 (patch) | |
tree | 938fc23c9434fede8b15fb9bcfb2c0c4b017620b /include | |
parent | 2a81893cc028b40f7832bf033821a1aacfaaea68 (diff) | |
download | libbsd-3fed78e5b08f78256e533788b4bcd6502b0949d7.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/bsd/sys/cdefs.h | 4 | ||||
-rw-r--r-- | include/bsd/unistd.h | 2 |
2 files changed, 2 insertions, 4 deletions
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 <sys/cdefs.h> -#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 |