diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-07-11 06:43:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-07-11 06:43:46 +0000 |
commit | e46eb27c72bf9a87efc438b35472137468542b55 (patch) | |
tree | 3793c980faacb787a4c9c449bb9fbdeaed089485 | |
parent | 053f5ba09112db55b2a0b90e2a75b1d51750b56a (diff) |
Add function comments.
-rw-r--r-- | usr.bin/tmux/grid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index 1e38a219b02..d82317eae85 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.84 2018/07/04 09:44:07 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.85 2018/07/11 06:43:45 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -145,12 +145,14 @@ grid_extended_cell(struct grid_line *gl, struct grid_cell_entry *gce, return (gcp); } +/* Get line data. */ struct grid_line * grid_get_line(struct grid *gd, u_int line) { return (&gd->linedata[line]); } +/* Adjust number of lines. */ void grid_adjust_lines(struct grid *gd, u_int lines) { |