include/debug.h: Apply sysloglike to _none
This commit is contained in:
parent
8d16fe7cfd
commit
48c7fee534
@ -105,7 +105,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||||
# define _none(x...)
|
/* don't call syslog while performing the compiler's format check. */
|
||||||
|
# define _none(format, ...) \
|
||||||
|
do { if (0) syslog(LOG_ERR, format, ##__VA_ARGS__); } while (0)
|
||||||
#else
|
#else
|
||||||
# define _none (void)
|
# define _none (void)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user