diff options
Diffstat (limited to 'newlib/libc/include/grp.h')
-rw-r--r-- | newlib/libc/include/grp.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/newlib/libc/include/grp.h b/newlib/libc/include/grp.h index 1273e3959..2e676f366 100644 --- a/newlib/libc/include/grp.h +++ b/newlib/libc/include/grp.h @@ -44,9 +44,6 @@ #define _GRP_H_ #include <sys/types.h> -#ifdef __CYGWIN__ -#include <cygwin/grp.h> -#endif #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define _PATH_GROUP "/etc/group" @@ -59,11 +56,11 @@ struct group { char **gr_mem; /* group members */ }; + #ifdef __cplusplus extern "C" { #endif -#ifndef __INSIDE_CYGWIN__ struct group *getgrgid (gid_t); struct group *getgrnam (const char *); int getgrnam_r (const char *, struct group *, @@ -74,18 +71,13 @@ int getgrgid_r (gid_t, struct group *, struct group *getgrent (void); void setgrent (void); void endgrent (void); -#ifndef __CYGWIN__ void setgrfile (const char *); -#endif /* !__CYGWIN__ */ #ifndef _XOPEN_SOURCE -#ifndef __CYGWIN__ char *group_from_gid (gid_t, int); int setgroupent (int); -#endif /* !__CYGWIN__ */ int initgroups (const char *, gid_t); #endif /* !_XOPEN_SOURCE */ #endif /* !_POSIX_SOURCE */ -#endif /* !__INSIDE_CYGWIN__ */ #ifdef __cplusplus } |