shithub: duke3d

Download patch

ref: 365f8ed1be5520ffdcac8125ba409b65fcd0d539
parent: 04e45448d447b1def481f0ed9e44a492543cb075
author: Marshall Banana <djcj@gmx.de>
date: Sun May 3 06:25:06 EDT 2015

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