diff options
author | nicm <nicm> | 2016-01-15 11:31:47 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-01-15 11:31:47 +0000 |
commit | 68d797587ef2acf1464a9390912e4a22e4db6482 (patch) | |
tree | 097a5213a94bf5b0b96f7609d5d5ed9d9997eda1 | |
parent | cfb78654c2b9a9f0c2f90c22228563d5385c510c (diff) | |
download | rtmux-68d797587ef2acf1464a9390912e4a22e4db6482.tar.gz rtmux-68d797587ef2acf1464a9390912e4a22e4db6482.tar.bz2 rtmux-68d797587ef2acf1464a9390912e4a22e4db6482.zip |
A couple of missing printflike attributes, from Andrey Starodubtsev.
-rw-r--r-- | input.c | 2 | ||||
-rw-r--r-- | tmux.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -100,7 +100,7 @@ struct input_ctx { struct input_transition; int input_split(struct input_ctx *); int input_get(struct input_ctx *, u_int, int, int); -void input_reply(struct input_ctx *, const char *, ...); +void printflike(2, 3) input_reply(struct input_ctx *, const char *, ...); void input_set_state(struct window_pane *, const struct input_transition *); void input_reset_cell(struct input_ctx *); @@ -1540,7 +1540,7 @@ extern struct client *cfg_client; void start_cfg(void); int load_cfg(const char *, struct cmd_q *, char **); void set_cfg_file(const char *); -void cfg_add_cause(const char *, ...); +void printflike(1, 2) cfg_add_cause(const char *, ...); void cfg_print_causes(struct cmd_q *); void cfg_show_causes(struct session *); |