diff options
author | 2016-10-11 13:21:59 +0000 | |
---|---|---|
committer | 2016-10-11 13:21:59 +0000 | |
commit | ced217699ffe77cdcd68550d0cd5144e02885fbd (patch) | |
tree | 4e8db157c9069258d6ed1270a2ee874d6502ef41 /usr.bin/tmux/screen.c | |
parent | missing .Fl macro, from Jan Stary (diff) | |
download | wireguard-openbsd-ced217699ffe77cdcd68550d0cd5144e02885fbd.tar.xz wireguard-openbsd-ced217699ffe77cdcd68550d0cd5144e02885fbd.zip |
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; |