Style/add printflike.

pull/1/head
Nicholas Marriott 2009-01-15 00:51:39 +00:00
parent 8542a97b78
commit c5c4cc7557
1 changed files with 4 additions and 3 deletions

View File

@ -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;