Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 18:16:40 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364775 - head/lib/libbe
Message-ID:  <202008251816.07PIGe7X035461@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Tue Aug 25 18:16:40 2020
New Revision: 364775
URL: https://svnweb.freebsd.org/changeset/base/364775

Log:
  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]

Modified:
  head/lib/libbe/Makefile

Modified: head/lib/libbe/Makefile
==============================================================================
--- head/lib/libbe/Makefile	Tue Aug 25 18:11:45 2020	(r364774)
+++ head/lib/libbe/Makefile	Tue Aug 25 18:16:40 2020	(r364775)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008251816.07PIGe7X035461>