mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Change all variadic macros to C99 style
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
/* This needs to match the logic in include/debug.h */
|
||||
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# define message(format, arg...) syslog(format, ##arg)
|
||||
# define message(format, ...) syslog(format, ##__VA_ARGS__)
|
||||
#else
|
||||
# define message syslog
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user