summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/aicasm
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-31 00:07:26 +0000
committered <ed@FreeBSD.org>2009-12-31 00:07:26 +0000
commit97b61f2cf34a427235b0b8880ead5cca851eb987 (patch)
tree2e14896716a8b2186e5dd2bdd3b8237daba0a90a /sys/dev/aic7xxx/aicasm
parent25922a4d78e011eae9655f948f5d51c6d5d48749 (diff)
downloadFreeBSD-src-97b61f2cf34a427235b0b8880ead5cca851eb987.zip
FreeBSD-src-97b61f2cf34a427235b0b8880ead5cca851eb987.tar.gz
Disable K&R style function definitions for WARNS=6.
Unfortunately there are two slight problems with that: - Yacc and lex might generate code that generates warnings because of this. Require yacc and lex to be rebuilt during bootstrap. I'm not incrementing __FreeBSD_version here, because I assume someone else will do this eventually. - When running `make buildkernel', it uses share/mk from the source treeo to build aicasm. Because aicasm also depends on lex, this would break. Lower WARNS to 5 for now. We should just increment it to 6 again somewhere in the very far future.
Diffstat (limited to 'sys/dev/aic7xxx/aicasm')
-rw-r--r--sys/dev/aic7xxx/aicasm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aicasm/Makefile b/sys/dev/aic7xxx/aicasm/Makefile
index 222c96a..9c73493 100644
--- a/sys/dev/aic7xxx/aicasm/Makefile
+++ b/sys/dev/aic7xxx/aicasm/Makefile
@@ -15,7 +15,7 @@ SRCS= ${GENHDRS} ${CSRCS} ${YSRCS} ${LSRCS}
CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}
DPADD= ${LIBL}
LDADD= -ll
-WARNS?= 6
+WARNS?= 5
# Correct path for kernel builds
# Don't rely on the kernel's .depend file
OpenPOWER on IntegriCloud