From 91b07c4ff7487946347f2538b6d9bc25f19c7433 Mon Sep 17 00:00:00 2001 From: foo Date: Sat, 18 Mar 2017 08:09:19 +0000 Subject: [PATCH] fixes --- src/Makefile | 4 ++-- src/grid.c | 1 - src/grid.h | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 38a1369..3a57958 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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) @@ -9,4 +9,4 @@ wordsearch: $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) clean: - rm $(DEPS) \ No newline at end of file + rm $(DEPS) diff --git a/src/grid.c b/src/grid.c index 1e6bf2e..94bb86d 100755 --- a/src/grid.c +++ b/src/grid.c @@ -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