]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
ematch: fix warning about unused input()
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 3 Jan 2012 21:55:59 +0000 (13:55 -0800)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 3 Jan 2012 21:55:59 +0000 (13:55 -0800)
Use existing compile flag to indicate that input() is not used
by tc ematch, fixes compiler warning.

tc/Makefile

index 00abb7f3f8750ccc87501a76c8763ccc3e06416c..a3d270db80e65c30b7b8ffa372d8dba2cff93c38 100644 (file)
@@ -89,6 +89,7 @@ endif
 
 YACC := bison
 LEX := flex
+CFLAGS += -DYY_NO_INPUT
 
 MODDESTDIR := $(DESTDIR)$(patsubst /usr%,%,$(LIBDIR))/tc