diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 18:40:30 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 18:40:30 +0000 |
commit | 044ebf195237c2c5ea13df5f1f93d61eaacf9d7b (patch) | |
tree | 5c514431943ad70913727c50de124e9568a78372 /grid.c | |
parent | b9a179089b7edec7930115ac7f1b5ae8e96f8792 (diff) | |
download | rtmux-044ebf195237c2c5ea13df5f1f93d61eaacf9d7b.tar.gz rtmux-044ebf195237c2c5ea13df5f1f93d61eaacf9d7b.tar.bz2 rtmux-044ebf195237c2c5ea13df5f1f93d61eaacf9d7b.zip |
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -199,20 +199,6 @@ grid_scroll_line(struct grid *gd) gd->hsize++; } -/* Reduce line to fit to cell. */ -void -grid_reduce_line(struct grid *gd, u_int py, u_int sx) -{ - if (sx < gd->size[py]) { - gd->data[py] = xrealloc(gd->data[py], sx, sizeof **gd->data); - gd->size[py] = sx; - } - if (sx < gd->usize[py]) { - gd->udata[py] = xrealloc(gd->udata[py], sx, sizeof **gd->udata); - gd->usize[py] = sx; - } -} - /* Expand line to fit to cell. */ void grid_expand_line(struct grid *gd, u_int py, u_int sx) |