tDP_ prefix added to all header file #ifdefs (used to prevent multiple inclusio… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 68722315f2833e396d11939ce58cdc52fd8c8477 | |
parent 7f53f9c57b3a2782f1c78a1a796536d63a4c6206 | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 4 May 2002 17:40:39 +0000 | |
DP_ prefix added to all header file #ifdefs (used to prevent multiple | |
inclusions) to reduce the risk of name clash with other projects. | |
Comments added to the complementary #endifs where needed. | |
Diffstat: | |
M src/AIPlayer.h | 6 +++--- | |
M src/admin.h | 6 +++--- | |
M src/dopewars.h | 6 +++--- | |
M src/error.h | 6 +++--- | |
M src/message.h | 6 +++--- | |
M src/network.h | 6 +++--- | |
M src/nls.h | 6 +++--- | |
M src/serverside.h | 6 +++--- | |
M src/tstring.h | 6 +++--- | |
M src/util.h | 6 +++--- | |
M src/winmain.h | 6 +++--- | |
11 files changed, 33 insertions(+), 33 deletions(-) | |
--- | |
diff --git a/src/AIPlayer.h b/src/AIPlayer.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __AIPLAYER_H__ | |
-#define __AIPLAYER_H__ | |
+#ifndef __DP_AIPLAYER_H__ | |
+#define __DP_AIPLAYER_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -29,4 +29,4 @@ | |
void AIPlayerLoop(void); | |
-#endif | |
+#endif /* __DP_AIPLAYER_H__ */ | |
diff --git a/src/admin.h b/src/admin.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __ADMIN_H__ | |
-#define __ADMIN_H__ | |
+#ifndef __DP_ADMIN_H__ | |
+#define __DP_ADMIN_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -33,4 +33,4 @@ void AdminServer(void); | |
#endif /* CYGWIN */ | |
-#endif | |
+#endif /* __DP_ADMIN_H__ */ | |
diff --git a/src/dopewars.h b/src/dopewars.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __DOPEWARS_H__ | |
-#define __DOPEWARS_H__ | |
+#ifndef __DP_DOPEWARS_H__ | |
+#define __DP_DOPEWARS_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -443,4 +443,4 @@ gboolean GtkLoop(int *argc, char **argv[], gboolean Return… | |
#endif | |
#endif | |
-#endif | |
+#endif /* __DP_DOPEWARS_H__ */ | |
diff --git a/src/error.h b/src/error.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __ERROR_H__ | |
-#define __ERROR_H__ | |
+#ifndef __DP_ERROR_H__ | |
+#define __DP_ERROR_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -69,4 +69,4 @@ void LookupErrorCode(GString *str, gint code, ErrTable *tabl… | |
void g_string_assign_error(GString *str, LastError *error); | |
void g_string_append_error(GString *str, LastError *error); | |
-#endif /* __ERROR_H__ */ | |
+#endif /* __DP_ERROR_H__ */ | |
diff --git a/src/message.h b/src/message.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __MESSAGE_H__ | |
-#define __MESSAGE_H__ | |
+#ifndef __DP_MESSAGE_H__ | |
+#define __DP_MESSAGE_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -142,4 +142,4 @@ void FormatFightMessage(Player *To, GString *text, Player … | |
Player *Defender, int BitchesKilled, | |
int ArmPercent, FightPoint fp, price_t Loot); | |
-#endif /* __MESSAGE_H__ */ | |
+#endif /* __DP_MESSAGE_H__ */ | |
diff --git a/src/network.h b/src/network.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __NETWORK_H__ | |
-#define __NETWORK_H__ | |
+#ifndef __DP_NETWORK_H__ | |
+#define __DP_NETWORK_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -244,4 +244,4 @@ void AddB64Enc(GString *str, gchar *unenc); | |
#endif /* NETWORKING */ | |
-#endif /* __NETWORK_H__ */ | |
+#endif /* __DP_NETWORK_H__ */ | |
diff --git a/src/nls.h b/src/nls.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __NLS_H__ | |
-#define __NLS_H__ | |
+#ifndef __DP_NLS_H__ | |
+#define __DP_NLS_H__ | |
#ifdef HAVE_CONFIG_H | |
# include <config.h> | |
t@@ -44,4 +44,4 @@ | |
# define N_(String) (String) | |
#endif | |
-#endif /* __NLS_H__ */ | |
+#endif /* __DP_NLS_H__ */ | |
diff --git a/src/serverside.h b/src/serverside.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __SERVERSIDE_H__ | |
-#define __SERVERSIDE_H__ | |
+#ifndef __DP_SERVERSIDE_H__ | |
+#define __DP_SERVERSIDE_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -81,4 +81,4 @@ void ServiceMain(void); | |
gchar *GetLocalSocket(void); | |
#endif | |
-#endif | |
+#endif /* __DP_SERVERSIDE_H__ */ | |
diff --git a/src/tstring.h b/src/tstring.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __TSTRING_H__ | |
-#define __TSTRING_H__ | |
+#ifndef __DP_TSTRING_H__ | |
+#define __DP_TSTRING_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -36,4 +36,4 @@ void dpg_string_sprintfa(GString *string, gchar *format, ...… | |
gchar *GetDefaultTString(gchar *tstring); | |
-#endif /* __TSTRING_H__ */ | |
+#endif /* __DP_TSTRING_H__ */ | |
diff --git a/src/util.h b/src/util.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __UTIL_H__ | |
-#define __UTIL_H__ | |
+#ifndef __DP_UTIL_H__ | |
+#define __DP_UTIL_H__ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
t@@ -76,4 +76,4 @@ void ReleaseLock(FILE *fp); | |
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | |
#endif | |
-#endif /* __UTIL_H__ */ | |
+#endif /* __DP_UTIL_H__ */ | |
diff --git a/src/winmain.h b/src/winmain.h | |
t@@ -20,8 +20,8 @@ | |
* MA 02111-1307, USA. * | |
************************************************************************/ | |
-#ifndef __WINMAIN_H__ | |
-#define __WINMAIN_H__ | |
+#ifndef __DP_WINMAIN_H__ | |
+#define __DP_WINMAIN_H__ | |
#ifdef CYGWIN | |
t@@ -29,4 +29,4 @@ gchar *GetBinaryDir(void); | |
#endif /* CYGWIN */ | |
-#endif /* __WINMAIN_H__ */ | |
+#endif /* __DP_WINMAIN_H__ */ |