Revision: 2709 http://tmux.svn.sourceforge.net/tmux/?rev=2709&view=rev Author: tcunha Date: 2012-03-03 09:17:30 +0000 (Sat, 03 Mar 2012) Log Message: ----------- Sync OpenBSD patchset 1034:
Add printf attribute to a couple of functions, from Tim Ruehsen. Modified Paths: -------------- trunk/tmux.h Modified: trunk/tmux.h =================================================================== --- trunk/tmux.h 2012-03-03 09:16:52 UTC (rev 2708) +++ trunk/tmux.h 2012-03-03 09:17:30 UTC (rev 2709) @@ -1363,7 +1363,7 @@ 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_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 *); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs