From c5c4cc7557f107547d3de8f530395f87fa37d1ee Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 15 Jan 2009 00:51:39 +0000 Subject: [PATCH] Style/add printflike. --- window-more.c | 7 ++++--- 1 file 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 @@ -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;