Use variadic macros that comply with C99. Keep the GCC-style ones if
DEBUG is defined and GCC is used.
This commit is contained in:
parent
4b8d8ccc23
commit
143a84cb95
@ -56,7 +56,7 @@ int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *);
|
||||
#if defined(DEBUG) && defined(__GNUC__)
|
||||
#define YPCLNT_DEBUG(fmt...) warnx(__FUNCTION__ ": " fmt, ##fmt)
|
||||
#else
|
||||
#define YPCLNT_DEBUG(fmt...)
|
||||
#define YPCLNT_DEBUG(...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user