| Disable some extra warnings. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/tmp/freebsd-10.3-src/usr/src/sys/conf/kern.mk freebsd-10.3/usr/src/sys/conf/kern.mk |
| --- /var/tmp/freebsd-10.3-src/usr/src/sys/conf/kern.mk 2016-03-25 09:09:25.000000000 +0800 |
| +++ freebsd-10.3/usr/src/sys/conf/kern.mk 2019-05-16 13:18:48.563481945 +0800 |
| @@ -4,7 +4,7 @@ |
| # Warning flags for compiling the kernel and components of the kernel: |
| # |
| CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
| - -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
| + -Wpointer-arith -Wcast-qual \ |
| -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \ |
| -Wmissing-include-dirs -fdiagnostics-show-option \ |
| ${CWARNEXTRA} |