diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-08-25 18:16:40 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-08-25 18:16:40 +0000 |
commit | 5e6a7bc6c1e3f42509eb6d1671528d1af9af2c25 (patch) | |
tree | de5fed0d00bfd632986f67312b5d4ba58960ac9e /lib/libbe | |
parent | 1ea0b9a5a9975039d3fcd2941875326d7a1122ae (diff) | |
download | src-5e6a7bc6c1e3f42509eb6d1671528d1af9af2c25.tar.gz src-5e6a7bc6c1e3f42509eb6d1671528d1af9af2c25.zip |
libbe: lift the WARNS post-OpenZFS merge
sys/ccompile.h no longer uses #pragma ident, so we no longer need to worry
about unknown pragmas.
I fixed one WARNS issue in r363409 by annotating be_is_auto_snapshot_name's
lbh parameter __unused, then upstreamed the following changes to OpenZFS
that rode in with the merge:
- zfs_path_to_zhandle now takes a const char *path rather than a char *path,
since it won't be mutating the string it receives and I had no reason to
believe it will need to in the future. [OpenZFS PR #10605]
- Annotated some unused parameters on definitions inlined into headers as
such. [OpenZFS PR #10606]
Notes
Notes:
svn path=/head/; revision=364775
Diffstat (limited to 'lib/libbe')
-rw-r--r-- | lib/libbe/Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libbe/Makefile b/lib/libbe/Makefile index c7dfde4b0dba..2ef809d97ea2 100644 --- a/lib/libbe/Makefile +++ b/lib/libbe/Makefile @@ -12,9 +12,6 @@ SRCS= be.c be_access.c be_error.c be_info.c INCS= be.h MAN= libbe.3 -WARNS?= 2 -IGNORE_PRAGMA= yes - LIBADD+= zfs LIBADD+= nvpair spl |