X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fdebug.c;h=e6631c6462592998255b3f784d5959f20eb4ff1f;hb=31ec36151e0789762a75e319f6432967de5bb66c;hp=653207954de9478dab789cbc2aeea90cb6efd9eb;hpb=6d7fa659380189a35b8d7cce9f0417b4ed1ce3a5;p=Project_algorithmic_C.git diff --git a/lib/debug.c b/lib/debug.c index 6532079..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,7 +32,6 @@ void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][b } } } - -/* void dbg_mvprintv(int y, int x, ) { - -} */ +#else +void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]) { } +#endif /* DEBUG */