aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-05-28 14:10:55 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-05-28 14:10:55 +0000
commit571964058165952634fce744588d588096cd1c2c (patch)
tree753fe9a6289181cd0218d36b7b57486194191bf8 /winsup/cygwin/include
parentf542ad4e14fae736164e354cd0f456427c82870c (diff)
downloadnewlib-571964058165952634fce744588d588096cd1c2c.zip
newlib-571964058165952634fce744588d588096cd1c2c.tar.gz
newlib-571964058165952634fce744588d588096cd1c2c.tar.bz2
Change internal gid datatype from __gid16_t to __gid32_t
throughout. * cygwin.din: Export new symbols chown32, fchown32, getegid32, getgid32, getgrgid32, getgrnam32, getgroups32, initgroups32, lchown32, setgid32, setegid32, getgrent32. * grp.cc (grp32togrp16): New static function. (getgrgid32): New function. (getgrnam32): Ditto. (getgrent32): Ditto. (getgroups32): Change name of internal function from getgroups. (getgroups32): New function. (initgroups32): Ditto. * syscalls.cc (chown32): Ditto. (lchown32): Ditto. (fchown32): Ditto. (setegid32): Ditto. (setgid32): Ditto. * uinfo.cc (getgid32): Ditto. (getegid32): Ditto. * include/cygwin/grp.h: Remove declaration of getgrgid() and getgrnam(). Declare getgrgid32() and getgrnam32() instead. Declare getgid32().
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/grp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/include/cygwin/grp.h b/winsup/cygwin/include/cygwin/grp.h
index 3a58e20..46874df 100644
--- a/winsup/cygwin/include/cygwin/grp.h
+++ b/winsup/cygwin/include/cygwin/grp.h
@@ -35,8 +35,9 @@ struct __group32
char **gr_mem;
};
-struct __group16 * getgrgid (__gid16_t gid);
-struct __group16 * getgrnam (const char *name);
+struct __group32 * getgrgid32 (__gid32_t gid);
+struct __group32 * getgrnam32 (const char *name);
+__gid32_t getgid32 ();
#endif
#ifdef __cplusplus