mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Convert GNU variadic macros to the ISO 9X variety.
This commit is contained in:
parent
80a0ead4fe
commit
a8966f6598
2 changed files with 5 additions and 3 deletions
|
|
@ -469,7 +469,9 @@ int
|
|||
iconv_lookupcp(char **cpp, const char *s)
|
||||
{
|
||||
if (cpp == NULL) {
|
||||
ICDEBUG("warning a NULL list passed\n");
|
||||
ICDEBUG("warning a NULL list passed\n", ""); /* XXX ISO variadic macros cannot
|
||||
leave out the
|
||||
variadic args */
|
||||
return ENOENT;
|
||||
}
|
||||
for (; *cpp; cpp++)
|
||||
|
|
|
|||
|
|
@ -146,9 +146,9 @@ int iconv_converter_donestub(struct iconv_converter_class *dp);
|
|||
int iconv_converter_handler(module_t mod, int type, void *data);
|
||||
|
||||
#ifdef ICONV_DEBUG
|
||||
#define ICDEBUG(format, args...) printf("%s: "format, __func__ ,## args)
|
||||
#define ICDEBUG(format, ...) printf("%s: "format, __func__ , __VA_ARGS__)
|
||||
#else
|
||||
#define ICDEBUG(format, args...)
|
||||
#define ICDEBUG(format, ...)
|
||||
#endif
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue