vile-9.8h-flex.patch 946 B

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