=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/grp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/include/grp.h 2011/04/25 20:10:10 1.9 --- src/include/grp.h 2012/10/01 00:21:19 1.10 *************** *** 1,4 **** ! /* $OpenBSD: grp.h,v 1.9 2011/04/25 20:10:10 sthen Exp $ */ /* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */ /*- --- 1,4 ---- ! /* $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,67 **** __BEGIN_DECLS struct group *getgrgid(gid_t); struct group *getgrnam(const char *); ! #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE struct group *getgrent(void); void setgrent(void); void endgrent(void); int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); int getgrnam_r(const char *, struct group *, char *, --- 58,69 ---- __BEGIN_DECLS struct group *getgrgid(gid_t); struct group *getgrnam(const char *); ! #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 *,