Mark debug message functions static
This commit is contained in:
parent
9947bd6daf
commit
2d1dcb3ce3
|
@ -546,7 +546,7 @@ _hb_debug (unsigned int level,
|
||||||
#define DEBUG_LEVEL(WHAT, LEVEL) (_hb_debug ((LEVEL), HB_DEBUG_##WHAT))
|
#define DEBUG_LEVEL(WHAT, LEVEL) (_hb_debug ((LEVEL), HB_DEBUG_##WHAT))
|
||||||
#define DEBUG(WHAT) (DEBUG_LEVEL (WHAT, 0))
|
#define DEBUG(WHAT) (DEBUG_LEVEL (WHAT, 0))
|
||||||
|
|
||||||
template <int max_level> inline void
|
template <int max_level> static inline void
|
||||||
_hb_debug_msg_va (const char *what,
|
_hb_debug_msg_va (const char *what,
|
||||||
const void *obj,
|
const void *obj,
|
||||||
const char *func,
|
const char *func,
|
||||||
|
@ -608,7 +608,7 @@ _hb_debug_msg_va<0> (const char *what HB_UNUSED,
|
||||||
const char *message HB_UNUSED,
|
const char *message HB_UNUSED,
|
||||||
va_list ap HB_UNUSED) {}
|
va_list ap HB_UNUSED) {}
|
||||||
|
|
||||||
template <int max_level> inline void
|
template <int max_level> static inline void
|
||||||
_hb_debug_msg (const char *what,
|
_hb_debug_msg (const char *what,
|
||||||
const void *obj,
|
const void *obj,
|
||||||
const char *func,
|
const char *func,
|
||||||
|
@ -617,7 +617,7 @@ _hb_debug_msg (const char *what,
|
||||||
int level_dir,
|
int level_dir,
|
||||||
const char *message,
|
const char *message,
|
||||||
...) HB_PRINTF_FUNC(7, 8);
|
...) HB_PRINTF_FUNC(7, 8);
|
||||||
template <int max_level> inline void
|
template <int max_level> static inline void
|
||||||
_hb_debug_msg (const char *what,
|
_hb_debug_msg (const char *what,
|
||||||
const void *obj,
|
const void *obj,
|
||||||
const char *func,
|
const char *func,
|
||||||
|
|
Loading…
Reference in New Issue