X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fdebug.c;h=e6631c6462592998255b3f784d5959f20eb4ff1f;hb=31ec36151e0789762a75e319f6432967de5bb66c;hp=c7f4dfb48635cd174290557a6397c9d4c3938c62;hpb=a80646b74eca11c71696dedeb674870437c5bb6f;p=Project_algorithmic_C.git diff --git a/lib/debug.c b/lib/debug.c index c7f4dfb..e6631c6 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -19,9 +19,9 @@ #include #include "othello.h" -#include "constants.h" #include "debug.h" +#if DEBUG void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]) { for (int i = 1; i <= board_size; i++) { @@ -32,3 +32,6 @@ void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][b } } } +#else +void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]) { } +#endif /* DEBUG */