aboutsummaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-16 20:38:38 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-16 20:38:38 -0400
commitcf6df324a8a12aef4573628d9c5de84119933d5a (patch)
treeacc5c67090bea80843188ad3b3acc048c2b33de2 /include/log.h
parentd64bff69bbc13c15ed0d2d1cdbce9709046ff818 (diff)
parentc024f0663176239c8b97e2957e5a7a45be5bceef (diff)
Merge pull request #49 from taiyu-len/master
handle_view_state_request
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h4
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