[vlc-commits] codec: webvtt: fix yylex decl mismatch
Francois Cartegnie
git at videolan.org
Fri Mar 8 15:13:10 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 8 14:47:55 2019 +0100| [d2ee7e8602b065219f9637d561b513d87ba59be0] | committer: Francois Cartegnie
codec: webvtt: fix yylex decl mismatch
refs #21989
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d2ee7e8602b065219f9637d561b513d87ba59be0
---
modules/codec/webvtt/CSSGrammar.y | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/codec/webvtt/CSSGrammar.y b/modules/codec/webvtt/CSSGrammar.y
index 71b5939ebd..0c6f0603a7 100644
--- a/modules/codec/webvtt/CSSGrammar.y
+++ b/modules/codec/webvtt/CSSGrammar.y
@@ -64,7 +64,8 @@ typedef void* yyscan_t;
%{
/* See bison pure calling */
-int yylex(union YYSTYPE *, yyscan_t, vlc_css_parser_t *);
+#define YY_DECL int yylex(union YYSTYPE *, yyscan_t, vlc_css_parser_t *)
+YY_DECL;
static int yyerror(yyscan_t scanner, vlc_css_parser_t *p, const char *msg)
{
More information about the vlc-commits
mailing list