Update GLee.diff for r4693

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4697 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-04-20 16:09:09 +00:00
parent 1252538097
commit 648a2b933b
1 changed files with 1 additions and 13 deletions

View File

@ -2,19 +2,7 @@ Index: GLee.c
===================================================================
--- GLee.c (revision 4687)
+++ GLee.c (working copy)
@@ -37,6 +37,11 @@
#pragma optimize( "g", off )
#endif
+// WORKAROUND: Prevents warnings caused by -Wmissing-declarations.
+#ifdef __GNUC__
+ #pragma GCC diagnostic ignored "-Wmissing-declarations"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -9308,7 +9313,7 @@
@@ -9308,7 +9308,7 @@
extList->numNames++;
}