Skip to content

Commit

Permalink
core: debug - aliased macro LM_BUG to BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 9, 2016
1 parent acb2fa3 commit 44a4732
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dprint.h
Expand Up @@ -401,11 +401,11 @@ void log_prefix_init(void);
# define DBG(fmt, args...)
# else
# define DBG(fmt, args...) LOG(L_DBG, fmt , ## args)
# endif
# endif

/* obsolete, do not use */
# define DEBUG(fmt, args...) DBG(fmt , ## args)

#endif /* __SUNPRO_C */


Expand All @@ -416,6 +416,7 @@ void log_prefix_init(void);
#define LM_NPRL NPRL
#define LM_ALERT ALERT
#define LM_CRIT CRIT
#define LM_BUG BUG
#define LM_ERR ERR
#define LM_WARN WARN
#define LM_NOTICE NOTICE
Expand Down

0 comments on commit 44a4732

Please sign in to comment.