From f960eed87b76aa764e2e964c806dfa729c1f040f Mon Sep 17 00:00:00 2001 From: das Date: Sat, 14 Mar 2009 19:05:18 +0000 Subject: Namespace: setgrent() is an XSI extension. --- include/grp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/grp.h') diff --git a/include/grp.h b/include/grp.h index 70b4a8a24..96584de 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, -- cgit v1.1