From owner-svn-src-head@freebsd.org Sun Sep 20 04:06:56 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A860A051CE; Sun, 20 Sep 2015 04:06:56 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org (repo.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 EE9451DFC; Sun, 20 Sep 2015 04:06:55 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8K46teH072462; Sun, 20 Sep 2015 04:06:55 GMT (envelope-from rodrigc@FreeBSD.org) Received: (from rodrigc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8K46tKl072460; Sun, 20 Sep 2015 04:06:55 GMT (envelope-from rodrigc@FreeBSD.org) Message-Id: <201509200406.t8K46tKl072460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigc set sender to rodrigc@FreeBSD.org using -f From: Craig Rodrigues Date: Sun, 20 Sep 2015 04:06:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288011 - head/lib/libc/posix1e X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 04:06:56 -0000 Author: rodrigc Date: Sun Sep 20 04:06:55 2015 New Revision: 288011 URL: https://svnweb.freebsd.org/changeset/base/288011 Log: Adding missing declarations to eliminate -Wmissing-prototypes warnings Modified: head/lib/libc/posix1e/acl_compat.c head/lib/libc/posix1e/acl_support.h Modified: head/lib/libc/posix1e/acl_compat.c ============================================================================== --- head/lib/libc/posix1e/acl_compat.c Sun Sep 20 04:06:04 2015 (r288010) +++ head/lib/libc/posix1e/acl_compat.c Sun Sep 20 04:06:55 2015 (r288011) @@ -29,6 +29,10 @@ __FBSDID("$FreeBSD$"); #include +int __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm); +int __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm); +int __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm); + /* * Compatibility wrappers for applications compiled against libc from before * NFSv4 ACLs were added. Modified: head/lib/libc/posix1e/acl_support.h ============================================================================== --- head/lib/libc/posix1e/acl_support.h Sun Sep 20 04:06:04 2015 (r288010) +++ head/lib/libc/posix1e/acl_support.h Sun Sep 20 04:06:55 2015 (r288011) @@ -45,6 +45,8 @@ int _acl_brand_may_be(const acl_t acl, i int _entry_brand_may_be(const acl_entry_t entry, int brand); void _acl_brand_as(acl_t acl, int brand); void _entry_brand_as(const acl_entry_t entry, int brand); +int _nfs4_acl_entry_from_text(acl_t aclp, char *str); +char *_nfs4_acl_to_text_np(const acl_t aclp, ssize_t *len_p, int flags); int _nfs4_format_flags(char *str, size_t size, acl_flag_t var, int verbose); int _nfs4_format_access_mask(char *str, size_t size, acl_perm_t var, int verbose); int _nfs4_parse_flags(const char *str, acl_flag_t *var);