summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-02 11:16:44 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-02 11:16:44 +0000
commit4d9ccd322909334b896d6a0420ea747898799385 (patch)
treebc2ffae0de0994728e4eba750bd04f9f9283b7dd
parent952ffdd28826a611c3c3374f1d1629ecd5bc7195 (diff)
Add printf attribute to a couple of functions, from Tim Ruehsen.
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 0a484187..9b1df265 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1367,7 +1367,7 @@ int format_cmp(struct format_entry *, struct format_entry *);
RB_PROTOTYPE(format_tree, format_entry, entry, format_cmp);
struct format_tree *format_create(void);
void format_free(struct format_tree *);
-void format_add(
+void printflike3 format_add(
struct format_tree *, const char *, const char *, ...);
const char *format_find(struct format_tree *, const char *);
char *format_expand(struct format_tree *, const char *);
@@ -2021,7 +2021,7 @@ extern const struct window_mode window_clock_mode;
extern const struct window_mode window_copy_mode;
void window_copy_init_from_pane(struct window_pane *);
void window_copy_init_for_output(struct window_pane *);
-void window_copy_add(struct window_pane *, const char *, ...);
+void printflike2 window_copy_add(struct window_pane *, const char *, ...);
void window_copy_vadd(struct window_pane *, const char *, va_list);
void window_copy_pageup(struct window_pane *);