46c690c
diff -Burp flex-2.5.4/flex.skl flex-2.5.4-new/flex.skl
46c690c
--- flex-2.5.4/flex.skl	2006-01-13 17:00:08.000000000 +0100
46c690c
+++ flex-2.5.4-new/flex.skl	2006-01-13 17:02:17.000000000 +0100
46c690c
@@ -1536,3 +1536,13 @@ int main()
46c690c
 	return 0;
46c690c
 	}
46c690c
 #endif
46c690c
+
46c690c
+/* Some people want warning-free code, and under certain #define
46c690c
+   conditions, gcc will warn for unusedness of some functions.  This
46c690c
+   function is provided merely to silent these warnings.  It's not
46c690c
+   static itself, so it will clutter exports, but it has at least
46c690c
+   urandom name so that clashes won't occur.*/
46c690c
+void _yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_()
46c690c
+{
46c690c
+  yy_flex_realloc ((void*)0, 0);
46c690c
+}
46c690c
diff -Burp flex-2.5.4/skel.c flex-2.5.4-new/skel.c
46c690c
--- flex-2.5.4/skel.c	2006-01-13 17:00:08.000000000 +0100
46c690c
+++ flex-2.5.4-new/skel.c	2006-01-13 17:02:28.000000000 +0100
46c690c
@@ -1541,5 +1541,15 @@ const char *skel[] = {
46c690c
   "	return 0;",
46c690c
   "	}",
46c690c
   "#endif",
46c690c
+  "",
46c690c
+  "/* Some people want warning-free code, and under certain #define",
46c690c
+  "   conditions, gcc will warn for unusedness of some functions.  This",
46c690c
+  "   function is provided merely to silent these warnings.  It's not",
46c690c
+  "   static itself, so it will clutter exports, but it has at least",
46c690c
+  "   urandom name so that clashes won't occur.*/",
46c690c
+  "void _yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_()",
46c690c
+  "{",
46c690c
+  "  yy_flex_realloc ((void*)0, 0);",
46c690c
+  "}",
46c690c
   0
46c690c
 };