mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix fwdbg vs fwerr naming inconsisency
This commit is contained in:
parent
6e94c465da
commit
1ea1cc5cde
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue