| Disable some extra warnings. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/archive3/public/freebsd-releng-10.4-src/sys/conf/kern.mk freebsd-10.4/sys/conf/kern.mk |
| --- /var/archive3/public/freebsd-releng-10.4-src/sys/conf/kern.mk 2017-09-29 08:19:45.000000000 +0800 |
| +++ freebsd-10.4/sys/conf/kern.mk 2019-08-17 23:50:12.943268694 +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} |