freebsd-dev/sys/modules/dtrace
Ryan Libby d021434a79 openzfs: fix gcc kernel module builds
- Suppress -Wredundant-decls.  Ultimately this warning is harmless in
   any case, and it does not look like there is a simple way to avoid
   redundant declarations in this case without a lot of header pollution
   (e.g. having openzfs's shim param.h pulling in sys/kernel.h for hz).
 - Suppress -Wnested-externs, which is useless anyway.

Unfortunately it was not sufficient just to modify OPENZFS_CFLAGS,
because the warning suppressions need to appear on the command line
after they are explicitly enabled by CWARNFLAGS from sys/conf/kern.mk,
but OPENZFS_CFLAGS get added before due to use of -I for the shims.

Reviewed by:	markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D27685
2020-12-27 14:33:13 -08:00
..
dtaudit openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
dtmalloc openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
dtnfscl openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
dtrace openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
dtrace_test
dtraceall Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
fasttrap openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
fbt openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
profile openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
prototype openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
sdt openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
systrace openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
systrace_freebsd32 openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
systrace_linux openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
systrace_linux32 openzfs: fix gcc kernel module builds 2020-12-27 14:33:13 -08:00
Makefile Disconnect fasttrap from the 32-bit powerpc build. 2019-02-21 22:49:21 +00:00
Makefile.inc