From: Stephen Hemminger Date: Tue, 3 Jan 2012 21:55:59 +0000 (-0800) Subject: ematch: fix warning about unused input() X-Git-Url: https://rtime.felk.cvut.cz/gitweb/lisovros/iproute2_canprio.git/commitdiff_plain/155ad8023b2be449752e396306fb67785fb1ba8d ematch: fix warning about unused input() Use existing compile flag to indicate that input() is not used by tc ematch, fixes compiler warning. --- diff --git a/tc/Makefile b/tc/Makefile index 00abb7f..a3d270d 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -89,6 +89,7 @@ endif YACC := bison LEX := flex +CFLAGS += -DYY_NO_INPUT MODDESTDIR := $(DESTDIR)$(patsubst /usr%,%,$(LIBDIR))/tc