From 843946a5c1fd77339a95ca412beec62e33b0bc00 Mon Sep 17 00:00:00 2001 From: Ronja Awe Date: Thu, 2 Feb 2023 11:49:30 +0100 Subject: [PATCH] =?UTF-8?q?refactoring:=20R=C3=BCckgabetyp=20der=20Funktio?= =?UTF-8?q?n=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c/labyrinth.c | 4 +--- src/c/labyrinth.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/c/labyrinth.c b/src/c/labyrinth.c index 8d67d40..9e54bf3 100644 --- a/src/c/labyrinth.c +++ b/src/c/labyrinth.c @@ -51,7 +51,7 @@ void wegsuchen(lab laby, bool* done, int y, int x, int ziely, int zielx){ } } -int labyrinthschritte(lab laby, int hoehe, int breite, int schritte){ +void labyrinthschritte(lab laby, int hoehe, int breite, int schritte){ @@ -63,6 +63,4 @@ int labyrinthschritte(lab laby, int hoehe, int breite, int schritte){ } printf("\n"); - - } \ No newline at end of file diff --git a/src/c/labyrinth.h b/src/c/labyrinth.h index 6da7a5d..71c1338 100644 --- a/src/c/labyrinth.h +++ b/src/c/labyrinth.h @@ -11,5 +11,5 @@ typedef char lab[MAXZEILEN][MAXSPALTEN]; int printlabyrinth(lab laby, int hoehe, int breite); void wegsuchen(lab laby, bool* done, int y, int x, int ziely, int zielx); -int labyrinthschritte(lab laby, int hoehe, int breite, int schritte); +void labyrinthschritte(lab laby, int hoehe, int breite, int schritte); #endif \ No newline at end of file