From 7b83048a3c6235e9f4996ad7cf1736535660de8d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 11 Oct 2016 13:22:00 +0000 Subject: Add static in window-*.c and move some internal functions out of tmux.h. --- usr.bin/tmux/screen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/screen.c') diff --git a/usr.bin/tmux/screen.c b/usr.bin/tmux/screen.c index febe5795166..f715ecb4426 100644 --- a/usr.bin/tmux/screen.c +++ b/usr.bin/tmux/screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen.c,v 1.41 2016/10/10 21:29:23 nicm Exp $ */ +/* $OpenBSD: screen.c,v 1.42 2016/10/11 13:21:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -27,6 +27,8 @@ static void screen_resize_x(struct screen *, u_int); static void screen_resize_y(struct screen *, u_int); +static void screen_reflow(struct screen *, u_int); + /* Create a new screen. */ void screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit) @@ -370,7 +372,7 @@ screen_check_selection(struct screen *s, u_int px, u_int py) } /* Reflow wrapped lines. */ -void +static void screen_reflow(struct screen *s, u_int new_x) { struct grid *old = s->grid; -- cgit v1.2.3