This commit is contained in:
foo 2017-03-18 08:09:19 +00:00
parent 755417a3f0
commit 91b07c4ff7
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAGS=-DDEBUG_GRID_MAIN
CFLAGS=-DDEBUG_GRID_MAIN -std=c99 -g
DEPS=dir.o rnd.o grid.o
wordsearch: $(DEPS)

View File

@ -171,7 +171,6 @@ void free_grid(char** grid, int height) {
free(grid);
}
void print_grid(char** grid, int height);
void print_grid(char** grid, int height) {
for(int i=0; i<height; i++) {
if(grid[i] == NULL) {

View File

@ -21,5 +21,6 @@ char **init_grid(char** old, int height, int width);
void free_grid(char** grid, int height);
int move_x(int x, enum direction d);
int move_y(int y, enum direction d);
void print_grid(char** grid, int height);
#endif