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
444a271f09
commit
f16a2dfec0
@ -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