diff --git a/mobile.c b/mobile.c index cf153f9639879deb936589a8e34a05b97ded94fe..fae50505136c76b9dc02483c431a5b8afc66e2e4 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