diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-03-03 09:17:30 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-03-03 09:17:30 +0000 |
commit | 89ab14709346ebcb49d43172ff55b15a6512e08f (patch) | |
tree | 7a3a90809f405494287ab99ebcb563a984a8f581 | |
parent | 95f427c34e4db9d7456d2d747e6cd6b54d8badcc (diff) | |
download | rtmux-89ab14709346ebcb49d43172ff55b15a6512e08f.tar.gz rtmux-89ab14709346ebcb49d43172ff55b15a6512e08f.tar.bz2 rtmux-89ab14709346ebcb49d43172ff55b15a6512e08f.zip |
Sync OpenBSD patchset 1034:
Add printf attribute to a couple of functions, from Tim Ruehsen.
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1363,7 +1363,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 *); @@ -2017,7 +2017,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 *); |