This combines the calls to yylex_init() and yyset_extra(). Signed-off-by: Phil Sutter <phil@xxxxxx> --- src/scanner.l | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scanner.l b/src/scanner.l index 7d57cc1465d3a..f0021c5c0fbae 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -849,8 +849,7 @@ void *scanner_init(struct parser_state *state) state->indesc = state->indescs; - yylex_init(&scanner); - yyset_extra(state, scanner), + yylex_init_extra(state, &scanner); yyset_out(NULL, scanner); return scanner; -- 2.13.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html