Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 19:05:18 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189812 - head/include
Message-ID:  <200903141905.n2EJ5Ik5005058@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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