aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grid.c2
-rw-r--r--grid.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/grid.c b/grid.c
index b50a095d..3c183703 100644
--- a/grid.c
+++ b/grid.c
@@ -57,7 +57,7 @@ void
grid_reflow(struct grid *grid, int new_rows, int new_cols,
int old_screen_rows, int new_screen_rows,
size_t tracking_points_count,
- struct coord *_tracking_points[static tracking_points_count])
+ struct coord *const _tracking_points[static tracking_points_count])
{
struct row *const *old_grid = grid->rows;
const int old_rows = grid->num_rows;
diff --git a/grid.h b/grid.h
index a2ff4b99..d4b1aa25 100644
--- a/grid.h
+++ b/grid.h
@@ -10,7 +10,7 @@ void grid_reflow(
struct grid *grid, int new_rows, int new_cols,
int old_screen_rows, int new_screen_rows,
size_t tracking_points_count,
- struct coord *tracking_points[static tracking_points_count]);
+ struct coord *const tracking_points[static tracking_points_count]);
static inline int
grid_row_absolute(const struct grid *grid, int row_no)