From 6d374e54b91c8391bf8f51020881c61558ab3676 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 4 Jun 2011 15:42:13 +0100 Subject: [PATCH] parse: add prototypes for unused functions to avoid compiler warning The warning is never fatal, because we don't use -Werror for the parser helper library build, but the warnings are annoying anyway. --- gst/parse/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/parse/Makefile.am b/gst/parse/Makefile.am index 7e83404..30abeb3 100644 --- a/gst/parse/Makefile.am +++ b/gst/parse/Makefile.am @@ -45,6 +45,8 @@ lex._gst_parse_yy.c: parse.l grammar.tab.h echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c && \ echo '#include ' >> lex._gst_parse_yy_tmp2.c && \ echo '#endif' >> lex._gst_parse_yy_tmp2.c && \ + echo 'static inline int _gst_parse_yyget_column (void * yyscanner);' >> lex._gst_parse_yy_tmp2.c && \ + echo 'static inline void _gst_parse_yyset_column (int column_no , void * yyscanner);' >> lex._gst_parse_yy_tmp2.c && \ cat lex._gst_parse_yy_tmp.c >> lex._gst_parse_yy_tmp2.c && \ rm lex._gst_parse_yy_tmp.c && \ mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c -- 2.7.4