aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-15 16:01:27 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-15 16:01:27 +0100
commitfe1778e37733aee809dd2cfdc9f6295e7780110f (patch)
treed2ebd92ef9cdc5d8db0d0266fe65c5c2f6882891 /grid.c
parentc2c9b77f141f3462414789b696dcee2cc2789bc4 (diff)
parentc7883d5c872a56c5342092f81e87e0742713b4de (diff)
downloadrtmux-fe1778e37733aee809dd2cfdc9f6295e7780110f.tar.gz
rtmux-fe1778e37733aee809dd2cfdc9f6295e7780110f.tar.bz2
rtmux-fe1778e37733aee809dd2cfdc9f6295e7780110f.zip
Merge branch 'obsd-master'
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/grid.c b/grid.c
index f33bc98d..0cef412b 100644
--- a/grid.c
+++ b/grid.c
@@ -48,8 +48,6 @@ static const struct grid_cell_entry grid_cleared_entry = {
GRID_FLAG_CLEARED, { .data = { 0, 8, 8, ' ' } }
};
-static void grid_empty_line(struct grid *, u_int, u_int);
-
/* Store cell in entry. */
static void
grid_store_cell(struct grid_cell_entry *gce, const struct grid_cell *gc,
@@ -454,7 +452,7 @@ grid_expand_line(struct grid *gd, u_int py, u_int sx, u_int bg)
}
/* Empty a line and set background colour if needed. */
-static void
+void
grid_empty_line(struct grid *gd, u_int py, u_int bg)
{
memset(&gd->linedata[py], 0, sizeof gd->linedata[py]);