From owner-svn-src-head@FreeBSD.ORG Sat Mar 14 19:05:18 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E918106564A; Sat, 14 Mar 2009 19:05:18 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8648FC1B; Sat, 14 Mar 2009 19:05:18 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EJ5I2f005059; Sat, 14 Mar 2009 19:05:18 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2EJ5Ik5005058; Sat, 14 Mar 2009 19:05:18 GMT (envelope-from das@svn.freebsd.org) Message-Id: <200903141905.n2EJ5Ik5005058@svn.freebsd.org> From: David Schultz Date: Sat, 14 Mar 2009 19:05:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189812 - head/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 14 Mar 2009 19:05:19 -0000 Author: das Date: Sat Mar 14 19:05:18 2009 New Revision: 189812 URL: http://svn.freebsd.org/changeset/base/189812 Log: Namespace: setgrent() is an XSI extension. Modified: head/include/grp.h Modified: head/include/grp.h ============================================================================== --- head/include/grp.h Sat Mar 14 19:04:24 2009 (r189811) +++ head/include/grp.h Sat Mar 14 19:05:18 2009 (r189812) @@ -74,9 +74,11 @@ struct group *getgrnam(const char *); #if __BSD_VISIBLE const char *group_from_gid(gid_t, int); #endif -#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE +#if __BSD_VISIBLE || __XSI_VISIBLE /* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */ int setgrent(void); +#endif +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); int getgrnam_r(const char *, struct group *, char *, size_t,