diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-15 00:51:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-15 00:51:39 +0000 |
commit | c5c4cc7557f107547d3de8f530395f87fa37d1ee (patch) | |
tree | 1b9b6473997bc0ab59abc6451d9c71754f136949 | |
parent | 8542a97b78536878e475a1a61638046f9829f165 (diff) | |
download | rtmux-c5c4cc7557f107547d3de8f530395f87fa37d1ee.tar.gz rtmux-c5c4cc7557f107547d3de8f530395f87fa37d1ee.tar.bz2 rtmux-c5c4cc7557f107547d3de8f530395f87fa37d1ee.zip |
Style/add printflike.
-rw-r--r-- | window-more.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/window-more.c b/window-more.c index 7a586386..43a269c8 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.24 2009-01-11 23:31:46 nicm Exp $ */ +/* $Id: window-more.c,v 1.25 2009-01-15 00:51:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -72,7 +72,7 @@ window_more_vadd(struct window_pane *wp, const char *fmt, va_list ap) screen_write_stop(&ctx); } -void +void printflike2 window_more_add(struct window_pane *wp, const char *fmt, ...) { va_list ap; @@ -165,7 +165,8 @@ window_more_key(struct window_pane *wp, unused struct client *c, int key) } void -window_more_write_line(struct window_pane *wp, struct screen_write_ctx *ctx, u_int py) +window_more_write_line( + struct window_pane *wp, struct screen_write_ctx *ctx, u_int py) { struct window_more_mode_data *data = wp->modedata; struct screen *s = &data->screen; |