uss: Suppress more warnings from lex.yy.c
authorAndrew Deason <adeason@sinenomine.net>
Tue, 5 Jul 2011 22:13:57 +0000 (17:13 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 6 Jul 2011 20:42:33 +0000 (13:42 -0700)
Specify -Wold-style-definition when compiling lex.yy.c. This allows us
to compile when --enable-checking is specified and our lex generates
code with old-style function definitions.

Change-Id: I09c87fd6274b5850952a8aaf63f0e3358100d567
Reviewed-on: http://gerrit.openafs.org/4905
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/uss/Makefile.in

index 1e26c91..5076b66 100644 (file)
@@ -46,7 +46,7 @@ uss: uss.o ${OBJS} $(LIBS)
 
 uss.o:  uss.c AFS_component_version_number.c
 
-CFLAGS_lex.yy.o = @CFLAGS_NOUNUSED@
+CFLAGS_lex.yy.o = @CFLAGS_NOUNUSED@ @CFLAGS_NOOLDSTYLE@
 lex.yy.o : lex.yy.c y.tab.c
 
 lex.yy.c : lex.l