From 03cd525d7ebe841d3b0c4c7839db6bda3030e89d Mon Sep 17 00:00:00 2001 From: Kranklyboy Date: Sun, 15 Apr 2018 19:20:06 +0200 Subject: [PATCH] Remove printMap() function --- server.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server.c b/server.c index 5401203..de9f82a 100644 --- a/server.c +++ b/server.c @@ -243,16 +243,6 @@ static int checkCoords(uint16_t msg) return 0; } -static void printMap(void) -{ - for (int y = 0; y < MAP_SIZE; y++) { - for (int x = 0; x < MAP_SIZE; x++) { - fprintf(stdout, "%d\t", field[x][y].isHit); - } - fprintf(stdout, "\n"); - } -} - int main(int argc, char *argv[]) { struct sigaction sa;