mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Make the code base clean under -Wwrite-strings.
I've also added that warning option and -Werror to the build script, so that I'll find out if I break this property in future.
This commit is contained in:
4
grid.h
4
grid.h
@ -116,8 +116,8 @@ 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,
|
||||
const char *desc);
|
||||
const char *grid_validate_desc(grid_type type, int width, int height,
|
||||
const char *desc);
|
||||
|
||||
grid *grid_new(grid_type type, int width, int height, const char *desc);
|
||||
|
||||
|
Reference in New Issue
Block a user