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.
This commit is contained in:
Tim-Philipp Müller 2011-06-04 15:42:13 +01:00
parent 20845a3771
commit 6d374e54b9

View file

@ -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 <config.h>' >> 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