diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-03-02 11:16:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-03-02 11:16:45 +0000 |
commit | f10c41217ae2f2a940253431d19f1f0a49ce4462 (patch) | |
tree | 02cea0fe240460b73940bd7b05967053b5fdc282 | |
parent | 6c0aec60ca28a4193cdabdbbf6e4f107d2091d7e (diff) |
Add printf attribute to a couple of functions, from Tim Ruehsen.
-rw-r--r-- | usr.bin/tmux/tmux.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 9e5d8b861b8..a62976f9c5b 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.313 2012/02/25 12:57:42 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.314 2012/03/02 11:16:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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 *); |