diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-25 06:15:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-25 06:15:04 +0000 |
commit | 1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d (patch) | |
tree | e0947101a25be132a7c964959cf884705f2f1076 /grid.c | |
parent | ed8350422e9472b657034367f39ab133f7913862 (diff) | |
download | rtmux-1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d.tar.gz rtmux-1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d.tar.bz2 rtmux-1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d.zip |
Miscellaneous unused functions, including one which was basically a
duplicate. Found by lint.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -430,31 +430,6 @@ grid_move_lines(struct grid *gd, u_int dy, u_int py, u_int ny) } } -/* Clear a group of cells. */ -void -grid_clear_cells(struct grid *gd, u_int px, u_int py, u_int nx) -{ - u_int xx; - - GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx); - - if (nx == 0) - return; - - if (grid_check_x(gd, px) != 0) - return; - if (grid_check_x(gd, px + nx - 1) != 0) - return; - if (grid_check_y(gd, py) != 0) - return; - - for (xx = px; xx < px + nx; xx++) { - if (xx >= gd->size[py]) - break; - grid_put_cell(gd, xx, py, &grid_default_cell); - } -} - /* Move a group of cells. */ void grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx) |