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
..
2018-07-07 15:55:52 +00:00
2018-05-24 17:06:00 +00:00
2020-10-02 18:18:01 +00:00
2020-02-03 17:35:11 +00:00
2018-01-12 12:14:14 +00:00
2018-11-01 23:11:47 +00:00
2020-02-03 17:35:11 +00:00
2018-07-17 23:23:45 +00:00
2020-04-28 16:09:18 +00:00
2019-03-01 04:17:43 +00:00
2020-02-03 17:35:11 +00:00
2019-03-28 08:30:45 +00:00
2019-03-28 08:30:45 +00:00
2020-03-20 21:06:58 +00:00
2020-12-17 14:20:36 +00:00
2019-03-28 08:59:11 +00:00
2019-06-06 03:02:25 +00:00
2017-04-03 03:07:48 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-02-03 17:35:11 +00:00
2020-02-06 21:01:19 +00:00
2020-08-22 03:57:55 +00:00
2020-02-03 17:35:11 +00:00
2020-05-16 02:29:10 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2017-06-09 12:06:22 +00:00
2020-03-20 21:06:58 +00:00
2019-08-16 20:30:31 +00:00
2019-08-21 22:18:01 +00:00
2020-12-04 21:12:17 +00:00
2019-10-12 23:01:16 +00:00
2020-11-05 15:55:23 +00:00
2020-03-20 21:06:58 +00:00
2017-08-21 20:27:45 +00:00
2020-04-28 16:09:18 +00:00
2018-01-12 12:14:14 +00:00
2018-01-12 12:14:14 +00:00
2020-04-28 16:09:18 +00:00
2020-02-03 17:35:11 +00:00
2018-07-20 17:46:55 +00:00
2019-07-01 17:05:41 +00:00
2020-10-08 20:56:00 +00:00
2017-05-09 05:22:51 +00:00
2020-09-12 00:33:11 +00:00
2020-10-19 20:43:29 +00:00
2019-02-26 19:55:03 +00:00
2020-12-27 14:33:13 -08:00
2019-08-25 17:13:00 +00:00
2020-12-11 21:40:38 +00:00