summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-21 16:12:11 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-21 16:12:11 +0000
commit7745805e4cade7bec42d6ec38f5c0a89ffdd2d29 (patch)
tree7b09db3a88b448d38b1cdb062e48c88c89561eea /usr.bin/tmux/tmux.h
parentc453333608305c138898896122c071c4a097b7c4 (diff)
Rework reflow code so it does not do so much allocation which should be
faster with large histories.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index ca0ec7f5e3f..67975bde0a4 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.377 2013/03/21 16:09:59 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.378 2013/03/21 16:12:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1970,7 +1970,7 @@ void grid_move_cells(struct grid *, u_int, u_int, u_int, u_int);
char *grid_string_cells(struct grid *, u_int, u_int, u_int);
void grid_duplicate_lines(
struct grid *, u_int, struct grid *, u_int, u_int);
-u_int grid_reflow(struct grid *, const struct grid *, u_int);
+u_int grid_reflow(struct grid *, struct grid *, u_int);
/* grid-cell.c */
u_int grid_cell_width(const struct grid_cell *);