diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -46,6 +46,10 @@ extern enum verbose verbosity; extern void (*mbox_vlog)(int p, const char *fmt, va_list args); +#ifdef __cplusplus +extern "C" { +#endif + void mbox_log_console(int p, const char *fmt, va_list args); __attribute__((format(printf, 2, 3))) @@ -100,4 +104,8 @@ static inline bool is_power_of_2(unsigned val) char *get_dev_mtd(void); +#ifdef __cplusplus +} +#endif + #endif /* COMMON_H */ |