diff options
Diffstat (limited to 'include/grp.h')
-rw-r--r-- | include/grp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/grp.h b/include/grp.h index f4aa1539655..655e89e79c3 100644 --- a/include/grp.h +++ b/include/grp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: grp.h,v 1.9 2011/04/25 20:10:10 sthen Exp $ */ +/* $OpenBSD: grp.h,v 1.10 2012/10/01 00:21:19 guenther Exp $ */ /* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */ /*- @@ -58,10 +58,12 @@ struct group { __BEGIN_DECLS struct group *getgrgid(gid_t); struct group *getgrnam(const char *); -#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE +#if __BSD_VISIBLE || __XPG_VISIBLE struct group *getgrent(void); void setgrent(void); void endgrent(void); +#endif +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 199506 || __XPG_VISIBLE int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); int getgrnam_r(const char *, struct group *, char *, |