chiark / gitweb /
Fix completion checking in Killer Solo.
[sgt-puzzles.git] / grid.h
diff --git a/grid.h b/grid.h
index d1c260eb53463238c989796e1d016c1f9e4d3712..17d0aa196157c3e14d5e7838c79631833ea09f02 100644 (file)
--- a/grid.h
+++ b/grid.h
@@ -115,9 +115,10 @@ typedef enum grid_type { GRIDGEN_LIST(ENUM) GRID_TYPE_MAX } grid_type;
 /* Free directly after use if non-NULL. Will never contain an underscore
  * (so clients can safely use that as a separator). */
 char *grid_new_desc(grid_type type, int width, int height, random_state *rs);
-char *grid_validate_desc(grid_type type, int width, int height, char *desc);
+char *grid_validate_desc(grid_type type, int width, int height,
+                         const char *desc);
 
-grid *grid_new(grid_type type, int width, int height, char *desc);
+grid *grid_new(grid_type type, int width, int height, const char *desc);
 
 void grid_free(grid *g);