From 600ba800cd2e9336eaf4442e63c7a5052a1dfebe Mon Sep 17 00:00:00 2001 From: JANUZI Rinor <rinor.januzi7@etu.univ-lorraine.fr> Date: Sun, 8 Jan 2023 22:55:01 +0000 Subject: [PATCH] Replace mobile.h --- mobile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile.h b/mobile.h index ecb3276..bd1e573 100644 --- a/mobile.h +++ b/mobile.h @@ -1,5 +1,6 @@ #ifndef MOBILE_H #define MOBILE_H +#include "location.h" typedef struct { @@ -10,7 +11,7 @@ typedef struct extern Mobile *MobileNew(char *name, char *desc); extern Mobile *MobileDelete(Mobile *m); -extern Mobile *MobileMove(Mobile *m, Location *CurrentLoc); +extern void MobileMove(Mobile *m, Location *CurrentLoc); extern void MobilePrint(Mobile *m); #endif // MOBILE_H \ No newline at end of file -- GitLab