From 3374508b1f7ff4ba04f4891c9d47bdec1c417267 Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 8 Jan 2020 15:23:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20use=20gcc=20-Wall=20and=20fix=20?= =?UTF-8?q?warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 1 + springer.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 490a320..c479e1f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ TARGETS := springer +CC := gcc -Wall all: $(TARGETS) diff --git a/springer.c b/springer.c index 275b078..43b613b 100644 --- a/springer.c +++ b/springer.c @@ -8,7 +8,7 @@ int schachbrett[GROESSE][GROESSE]; long int zurueck; -int zeigebrett() { +void zeigebrett() { int y,x; for (y=0;y