OSDN Git Service

* libc/include/grp.h: Don't define setgrfile, group_from_gid and
authorcorinna <corinna>
Tue, 9 Sep 2003 13:14:49 +0000 (13:14 +0000)
committercorinna <corinna>
Tue, 9 Sep 2003 13:14:49 +0000 (13:14 +0000)
setgroupent for Cygwin.

newlib/ChangeLog
newlib/libc/include/grp.h

index 14369fa..d36f4ad 100644 (file)
@@ -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
index 48a3d63..e453dca 100644 (file)
@@ -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 */