mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 15:05:39 +02:00
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.
This commit is contained in:
@@ -29,10 +29,6 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifndef setproctitle
|
||||
# define setproctitle(fmt, args...)
|
||||
#endif
|
||||
|
||||
#ifndef __dead2
|
||||
# define __dead2
|
||||
#endif
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user