diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logging.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logging.h b/src/logging.h index 2b4386a..31947cf 100644 --- a/src/logging.h +++ b/src/logging.h @@ -21,9 +21,9 @@ * */ -void info(const char *format, ...); -void error(const char *format, ...); -void debug(const char *format, ...); +void info(const char *format, ...) __attribute__((format(printf, 1, 2))); +void error(const char *format, ...) __attribute__((format(printf, 1, 2))); +void debug(const char *format, ...) __attribute__((format(printf, 1, 2))); void obex_debug(int evt, int cmd, int rsp); void toggle_debug(void); void enable_debug(void); |