diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index c3bf501d..064ded7b 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -48,9 +48,9 @@ #define stp_for_each_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map) #endif -static void _stp_dbug (const char *func, int line, const char *fmt, ...); -static void _stp_error (const char *fmt, ...); -static void _stp_warn (const char *fmt, ...); +static void _stp_dbug (const char *func, int line, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); +static void _stp_error (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); +static void _stp_warn (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); static void _stp_exit(void); |