diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2023-03-22 19:35:09 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2023-03-22 19:35:09 +0000 |
| commit | 4ffeb3b88ed228e72e13abe1be888c77c6ede95d (patch) | |
| tree | 5048460718a28813fa7f443358a88622fe1257cd | |
| parent | 7bf44831ca05c67169fd90408b514573ddbbcf9d (diff) | |
| -rw-r--r-- | sys/conf/kern.mk | 2 | ||||
| -rw-r--r-- | sys/conf/kern.pre.mk | 1 | ||||
| -rw-r--r-- | sys/conf/kmod.mk | 3 | ||||
| -rw-r--r-- | sys/modules/pms/Makefile | 1 |
4 files changed, 2 insertions, 5 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 74c47479ab9e..a80d6211c182 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -3,7 +3,7 @@ # # Warning flags for compiling the kernel and components of the kernel: # -CWARNFLAGS?= -Wall -Wnested-externs -Wstrict-prototypes \ +CWARNFLAGS?= -Wall -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Wcast-qual \ -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \ -Wmissing-include-dirs -fdiagnostics-show-option \ diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index ca04e348808d..ec5c1d331533 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -225,7 +225,6 @@ CDDL_CFLAGS= \ -Wno-duplicate-decl-specifier \ -Wno-missing-braces \ -Wno-missing-prototypes \ - -Wno-nested-externs \ -Wno-parentheses \ -Wno-pointer-arith \ -Wno-strict-prototypes \ diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 9c681bad3c80..83506ece333d 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -551,8 +551,7 @@ OPENZFS_CFLAGS= \ -I${SYSDIR}/cddl/compat/opensolaris \ -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \ -include ${ZINCDIR}/os/freebsd/spl/sys/ccompile.h -OPENZFS_CWARNFLAGS= \ - -Wno-nested-externs +OPENZFS_CWARNFLAGS= .include <bsd.dep.mk> .include <bsd.clang-analyze.mk> diff --git a/sys/modules/pms/Makefile b/sys/modules/pms/Makefile index 4dc00b75ff6f..3219b3e0e4a3 100644 --- a/sys/modules/pms/Makefile +++ b/sys/modules/pms/Makefile @@ -22,7 +22,6 @@ CFLAGS+=-fms-extensions CFLAGS+=-Wredundant-decls CFLAGS+=-Wunused-variable -CFLAGS+=-Wnested-externs CFLAGS+=-Woverflow CFLAGS+=-Wmissing-prototypes CFLAGS+=-Wparentheses |
