Convert GNU variadic macros to the ISO 9X variety.
This commit is contained in:
parent
80a0ead4fe
commit
a8966f6598
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100080
@ -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 New Issue
Block a user