ref: c9799c7cf279d1b2b5d3ef0d26f27d9dc1c9a105
parent: 859d3aa4817cf520fb45758c8f82bf29a977da93
parent: 365f8ed1be5520ffdcac8125ba409b65fcd0d539
author: Fabien <fabien.sanglard@gmail.com>
date: Tue Sep 1 19:17:46 EDT 2015
Merge pull request #36 from darealshinji/cleanup-4 Cleanup: -Wimplicit-function-declaration
--- a/Engine/src/filesystem.c
+++ b/Engine/src/filesystem.c
@@ -12,6 +12,7 @@
#include "cache.h"
#include "fixedPoint_math.h"
#include "../../Game/src/global.h"
+#include <strings.h>
char game_dir[512];
--- a/Engine/src/mmulti.c
+++ b/Engine/src/mmulti.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <stdarg.h>
#include <ctype.h>
#include <time.h>
@@ -24,7 +25,7 @@
//#include <vector>
//#include "buildqueue.h"
-#include "platform.h"
+#include "network.h"
#include "fixedPoint_math.h"
@@ -36,6 +37,8 @@
#define PRINTERRORS 0
#define updatecrc16(crc,dat) crc = (((crc<<8)&65535)^crctable[((((unsigned short)crc)>>8)&65535)^dat])
+
+void Error (int errorType, char *error, ...);
static long incnt[MAXPLAYERS], outcntplc[MAXPLAYERS], outcntend[MAXPLAYERS];
static char errorgotnum[MAXPLAYERS];
--- a/Game/src/global.h
+++ b/Game/src/global.h
@@ -58,6 +58,9 @@
#define Swapint32_t IntelLong
#endif
+int32_t MotoLong (int32_t l);
+int32_t IntelLong (int32_t l);
+
void Error (int errorType, char *error, ...);
#endif