Fix fwdbg vs fwerr naming inconsisency

This commit is contained in:
Gregory Nutt 2016-06-20 16:31:47 -06:00
parent 6e94c465da
commit 1ea1cc5cde

View File

@ -62,18 +62,18 @@
#ifdef CONFIG_THTTPD_FDWATCH_DEBUG
# ifdef CONFIG_CPP_HAVE_VARARGS
# define fwdbg(format, ...) nerr(format, ##__VA_ARGS__)
# define fderr(format, ...) nerr(format, ##__VA_ARGS__)
# define fwinfo(format, ...) ninfo(format, ##__VA_ARGS__)
# else
# define fwdbg nerr
# define fderr nerr
# define fwinfo ninfo
# endif
#else
# ifdef CONFIG_CPP_HAVE_VARARGS
# define fwdbg(x...)
# define fderr(x...)
# define fwinfo(x...)
# else
# define fwdbg (void)
# define fderr (void)
# define fwinfo (void)
# endif
#endif