slackbuilds/development/xvile/vile-9.8h-flex.patch

31 lines
946 B
Diff

--- vile-9.8h/filters/filters.h
+++ vile-9.8h/filters/filters.h
@@ -200,27 +200,6 @@
#endif
#endif /* __GNUC__ */
-/*
- * 2003/5/20 - "new" flex 2.5.31:
- * workaround for "developers" who don't use compiler-warnings...
- * perhaps by the time "new" flex merits the term "beta", they'll fix this:
- */
-#if defined(FLEX_BETA)
-extern FILE *yyget_in (void);
-extern FILE *yyget_out (void);
-extern char *yyget_text (void);
-extern int yyget_debug (void);
-extern int yyget_leng (void);
-extern int yyget_lineno (void);
-extern int yylex_destroy (void);
-extern void yyset_debug (int bdebug);
-extern void yyset_in (FILE * in_str);
-extern void yyset_lineno (int line_number);
-extern void yyset_out (FILE * out_str);
-/* there's also warnings for unused 'yyunput()', but I don't see a fix */
-/* flex's skeleton includes <unistd.h> - no particular reason apparent */
-#endif
-
#define YY_NO_INPUT 1 /* get rid of 'input()' function */
/*