dtc: Remove unused lexer function

dtc does not use the input() function in flex.  Apparently on some gcc
versions the unused function will cause warnings.  Therefore, this
patch removes the function by using the 'noinput' option to flex.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 2008-07-29 14:51:36 +10:00 committed by Jon Loeliger
parent d5653618d2
commit a1db0749fd
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
* USA
*/

%option noyywrap nounput yylineno
%option noyywrap nounput noinput yylineno

%x INCLUDE
%x BYTESTRING