From f0fb73c58ef5315260164b973fcc8c3996046856 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 11 Jun 2011 12:11:15 +0100 Subject: [PATCH] cleanup: specify never-interactive option for flex scanner We never parse configuration interactively. That's just as well, because without "%option never-interactive" flex generates a redundant declaration of isatty which upsets -Wredundant-decls. This is a bug in flex IMO but the workaround is fine for secnet. Signed-off-by: Ian Jackson --- conffile.fl | 1 + 1 file changed, 1 insertion(+) diff --git a/conffile.fl b/conffile.fl index c169b57..1747be2 100644 --- a/conffile.fl +++ b/conffile.fl @@ -3,6 +3,7 @@ %option nounput %option noinput +%option never-interactive %{ #include -- 2.30.2