Skip to content
Snippets Groups Projects
Commit 1c41b09e authored by JANUZI Rinor's avatar JANUZI Rinor
Browse files

Replace mobile.c

parent 47b82e9d
No related branches found
No related tags found
No related merge requests found
#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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment