aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-03-14 19:05:18 +0000
committerDavid Schultz <das@FreeBSD.org>2009-03-14 19:05:18 +0000
commit6fb888fc07e61b2e9d2b9ee751d2bddb94fe9c3c (patch)
tree2e4dc3fe1832df334a7070f17ad11c3e168929ac /include
parentc6bd0d562152bb183d228019e2304bb4b65baae5 (diff)
downloadsrc-6fb888fc07e61b2e9d2b9ee751d2bddb94fe9c3c.tar.gz
src-6fb888fc07e61b2e9d2b9ee751d2bddb94fe9c3c.zip
Namespace: setgrent() is an XSI extension.
Notes
Notes: svn path=/head/; revision=189812
Diffstat (limited to 'include')
-rw-r--r--include/grp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index 70b4a8a24513..96584deaf72d 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -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,