mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add _ to the beginning of all debug macros to avoid name collisions
This commit is contained in:
@@ -74,12 +74,12 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_NETDEV_PHY_DEBUG
|
||||
# define phyerr err
|
||||
# define phywarn warn
|
||||
# define phyinfo info
|
||||
# define phyllerr llerr
|
||||
# define phyllwarn llwarn
|
||||
# define phyllinfo llinfo
|
||||
# define phyerr _err
|
||||
# define phywarn _warn
|
||||
# define phyinfo _info
|
||||
# define phyllerr _llerr
|
||||
# define phyllwarn _llwarn
|
||||
# define phyllinfo _llinfo
|
||||
#else
|
||||
# define phyerr(x...)
|
||||
# define phywarn(x...)
|
||||
|
||||
Reference in New Issue
Block a user