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