diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-09-09 13:14:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-09-09 13:14:50 +0000 |
commit | 84154fcc00877205647c2a318a0bf7547520c498 (patch) | |
tree | a9066d46fdea4dad90bab1c6d8edfa93dbbab171 /newlib | |
parent | 807dfb3d4a8b4c9ba13903cfbf62a43c3cb4dc5a (diff) | |
download | newlib-84154fcc00877205647c2a318a0bf7547520c498.zip newlib-84154fcc00877205647c2a318a0bf7547520c498.tar.gz newlib-84154fcc00877205647c2a318a0bf7547520c498.tar.bz2 |
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
setgroupent for Cygwin.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/grp.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 14369fa..d36f4ad 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-09-09 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/grp.h: Don't define setgrfile, group_from_gid and + setgroupent for Cygwin. + 2003-09-05 Jeff Johnston <jjohnstn@redhat.com> * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p diff --git a/newlib/libc/include/grp.h b/newlib/libc/include/grp.h index 48a3d63..e453dca 100644 --- a/newlib/libc/include/grp.h +++ b/newlib/libc/include/grp.h @@ -66,18 +66,24 @@ extern "C" { #ifndef __INSIDE_CYGWIN__ struct group *getgrgid (gid_t); struct group *getgrnam (const char *); +#ifndef __CYGWIN__ int getgrnam_r (const char *, struct group *, char *, size_t, struct group **); int getgrgid_r (gid_t, struct group *, char *, size_t, struct group **); +#endif /* !__CYGWIN__ */ #ifndef _POSIX_SOURCE 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 */ |