mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
graphics/, libc/: Change some err() ERRORS to warn() WARNINGS or info()
This commit is contained in:
@@ -190,9 +190,13 @@
|
||||
# define updllerr(format, ...) llerr(format, ##__VA_ARGS__)
|
||||
# define updinfo(format, ...) info(format, ##__VA_ARGS__)
|
||||
# define updllinfo(format, ...) llinfo(format, ##__VA_ARGS__)
|
||||
# define updinfo(format, ...) info(format, ##__VA_ARGS__)
|
||||
# define updllinfo(format, ...) llinfo(format, ##__VA_ARGS__)
|
||||
# else
|
||||
# define upderr err
|
||||
# define updllerr llerr
|
||||
# define updwarn warn
|
||||
# define updllwarn llwarn
|
||||
# define updinfo info
|
||||
# define updllinfo llinfo
|
||||
# endif
|
||||
@@ -200,11 +204,15 @@
|
||||
# ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# define upderr(x...)
|
||||
# define updllerr(x...)
|
||||
# define updwarn(x...)
|
||||
# define updllwarn(x...)
|
||||
# define updinfo(x...)
|
||||
# define updllinfo(x...)
|
||||
# else
|
||||
# define upderr (void)
|
||||
# define updllerr (void)
|
||||
# define updwarn (void)
|
||||
# define updllwarn (void)
|
||||
# define updinfo (void)
|
||||
# define updllinfo (void)
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user