diff options
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/log.h b/include/log.h index e5075a39..d35b2a54 100644 --- a/include/log.h +++ b/include/log.h @@ -10,7 +10,7 @@ typedef enum { void init_log(int verbosity); void sway_log_colors(int mode); -void sway_log(int verbosity, char* format, ...); -void sway_abort(char* format, ...); +void sway_log(int verbosity, char* format, ...) __attribute__((format(printf,2,3))); +void sway_abort(char* format, ...)__attribute__((format(printf,1,2))); #endif |