From owner-svn-src-all@FreeBSD.ORG Sat Apr 19 22:18:57 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B690E323; Sat, 19 Apr 2014 22:18:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A310217E3; Sat, 19 Apr 2014 22:18:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3JMIvoJ073683; Sat, 19 Apr 2014 22:18:57 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3JMIvWn073682; Sat, 19 Apr 2014 22:18:57 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201404192218.s3JMIvWn073682@svn.freebsd.org> From: Jilles Tjoelker Date: Sat, 19 Apr 2014 22:18:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264683 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 22:18:57 -0000 Author: jilles Date: Sat Apr 19 22:18:57 2014 New Revision: 264683 URL: http://svnweb.freebsd.org/changeset/base/264683 Log: sys/capsicum.h: Remove not very useful visibility guards. Since does not comply to any standards, standards-compliant applications do not include it and it is not useful to restrict what is exposed depending on the requested standard. In addition, the use of types like u_int makes the header fail in strict standards compliance modes anyway. Modified: head/sys/sys/capsicum.h Modified: head/sys/sys/capsicum.h ============================================================================== --- head/sys/sys/capsicum.h Sat Apr 19 20:55:51 2014 (r264682) +++ head/sys/sys/capsicum.h Sat Apr 19 22:18:57 2014 (r264683) @@ -302,16 +302,10 @@ */ #define CAP_FCNTL_GETFL (1 << F_GETFL) #define CAP_FCNTL_SETFL (1 << F_SETFL) -#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112 #define CAP_FCNTL_GETOWN (1 << F_GETOWN) #define CAP_FCNTL_SETOWN (1 << F_SETOWN) -#endif -#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112 #define CAP_FCNTL_ALL (CAP_FCNTL_GETFL | CAP_FCNTL_SETFL | \ CAP_FCNTL_GETOWN | CAP_FCNTL_SETOWN) -#else -#define CAP_FCNTL_ALL (CAP_FCNTL_GETFL | CAP_FCNTL_SETFL) -#endif #define CAP_IOCTLS_ALL SSIZE_MAX