parse: add prototypes for unused functions to avoid compiler warning
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 4 Jun 2011 14:42:13 +0000 (15:42 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 5 Jun 2011 14:27:19 +0000 (15:27 +0100)
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

index 7e83404..30abeb3 100644 (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