aboutsummaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
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;