summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-11 13:21:59 +0000
committernicm <nicm>2016-10-11 13:21:59 +0000
commite45401846f0a423bb90ebd3943041a28b2657631 (patch)
tree9d5d914a2e67829e5729f775e6f95fb460c36cbc /screen.c
parent85d7afaefc1e2cf8008575a776ec70f51d24e1a6 (diff)
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index b0ba216a..7bde6f9b 100644
--- a/screen.c
+++ b/screen.c
@@ -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;