mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
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:
parent
20845a3771
commit
6d374e54b9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue