]> code.ossystems Code Review - openembedded-core.git/blob
bf93cb2190ec8250975b8f8b0bffcefb037ad084
[openembedded-core.git] /
1 gstreamer: change priv_gst_parse_yylex arguments
2
3 Change priv_gst_parse_yylex to fit new bison version, else we will
4 get following error:
5
6 | grammar.tab.c: In function 'priv_gst_parse_yyparse':
7 | grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex'
8 |  #define yylex           priv_gst_parse_yylex
9 |                          ^
10
11 Upstream-Status: Pending
12
13 Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
14 ---
15  gst/parse/grammar.y | 2 +-
16  1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
19 index 24fc87b..24fe906 100644
20 --- a/gst/parse/grammar.y
21 +++ b/gst/parse/grammar.y
22 @@ -36,7 +36,7 @@
23  
24  typedef void* yyscan_t;
25  
26 -int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
27 +int priv_gst_parse_yylex (yyscan_t yyscanner);
28  int priv_gst_parse_yylex_init (yyscan_t scanner);
29  int priv_gst_parse_yylex_destroy (yyscan_t scanner);
30  struct yy_buffer_state * priv_gst_parse_yy_scan_string (char* , yyscan_t);
31 -- 
32 1.9.1
33