Add _ to the beginning of all debug macros to avoid name collisions

This commit is contained in:
Gregory Nutt
2016-06-16 12:33:32 -06:00
parent fdaf3d7268
commit 0c8c7fecf0
252 changed files with 1348 additions and 1374 deletions
+12 -12
View File
@@ -186,19 +186,19 @@
#ifdef CONFIG_VNCSERVER_UPDATE_DEBUG
# ifdef CONFIG_CPP_HAVE_VARARGS
# define upderr(format, ...) err(format, ##__VA_ARGS__)
# 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__)
# define upderr(format, ...) _err(format, ##__VA_ARGS__)
# 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
# define upderr _err
# define updllerr _llerr
# define updwarn _warn
# define updllwarn _llwarn
# define updinfo _info
# define updllinfo _llinfo
# endif
#else
# ifdef CONFIG_CPP_HAVE_VARARGS