forked from Mirror/frr
lib: make clang-SA not choke on defun_lex.l
The flex-generated code is disabled for clang-SA builds already, but that means that function prototypes are missing too. Just add dummy function prototypes so clang-SA can process the file. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
c071b4370d
commit
40d4a47c0e
|
@ -157,6 +157,9 @@ SPECIAL [(),]
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
|
#else
|
||||||
|
extern int def_yylex(void);
|
||||||
|
extern int def_yylex_destroy(void);
|
||||||
#endif /* __clang_analyzer__ */
|
#endif /* __clang_analyzer__ */
|
||||||
|
|
||||||
static int yylex_clr(char **retbuf)
|
static int yylex_clr(char **retbuf)
|
||||||
|
|
Loading…
Reference in a new issue