[vlc-commits] Fix yylex_init() prototype

Rémi Denis-Courmont git at videolan.org
Wed Sep 30 20:53:06 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep 30 21:16:54 2020 +0300| [847a0428833880144b8c574bcfdc7b7ad0fca6fc] | committer: Rémi Denis-Courmont

Fix yylex_init() prototype

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=847a0428833880144b8c574bcfdc7b7ad0fca6fc
---

 modules/demux/json/grammar.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/json/grammar.y b/modules/demux/json/grammar.y
index bf5f863eea..e4a2af1b30 100644
--- a/modules/demux/json/grammar.y
+++ b/modules/demux/json/grammar.y
@@ -153,7 +153,7 @@ static void yyerror(void *log, void *scanner, struct json_object *result,
 	(void) scanner; (void) result;
 }
 
-extern int yylex_init(void *);
+extern int yylex_init(void **);
 extern void yyset_in(FILE *, void *);
 extern int yylex(YYSTYPE *value, void *scanner);
 extern int yylex_destroy(void *);



More information about the vlc-commits mailing list