From 1c41b09ed3584c80de515f760c6db0648ba0888a Mon Sep 17 00:00:00 2001 From: JANUZI Rinor <rinor.januzi7@etu.univ-lorraine.fr> Date: Sun, 8 Jan 2023 22:54:36 +0000 Subject: [PATCH] Replace mobile.c --- mobile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile.c b/mobile.c index cf153f9..fae5050 100644 --- a/mobile.c +++ b/mobile.c @@ -1,5 +1,4 @@ #include "mobile.h" -#include "location.h" #include <string.h> /* strdup */ #include <stdio.h> /* printf */ #include <stdlib.h> /* malloc, free */ @@ -32,7 +31,7 @@ void MobilePrint(Mobile *m) if (m) printf("%s\n%s\n",m->name,m->desc); } -Mobile MobileMove(Mobile *m, Location *CurrentLoc) +void MobileMove(Mobile *m, Location *CurrentLoc) { if (m && CurrentLoc) m->loc = CurrentLoc; } \ No newline at end of file -- GitLab