diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-11 13:22:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-11 13:22:00 +0000 |
commit | 7b83048a3c6235e9f4996ad7cf1736535660de8d (patch) | |
tree | 0cfe4f046930fdf9eace502dffd0dd219c62670f /usr.bin/tmux/screen.c | |
parent | 473fce65f32c28b7882490f2037e8241197ad7fa (diff) |
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'usr.bin/tmux/screen.c')
-rw-r--r-- | usr.bin/tmux/screen.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <nicholas.marriott@gmail.com> @@ -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; |