Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-05-17 20:14:01 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-05-17 20:14:01 +0400
commitaac9c88c2495ecc53bbffcaf3357645011fbbbf2 (patch)
treeab9f6b14bea7d1ed3de9aa4ac4ff78dd2043307b /winsup/cygwin/grp.cc
parentcf3aae91e214982df87e60cc5059195fd6c8a8b8 (diff)
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
argument definition. (getgrnam_r): Ditto.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r--winsup/cygwin/grp.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index 39de15136..f46cb89d6 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -176,8 +176,8 @@ grp32togrp16 (struct __group16 *gp16, struct __group32 *gp32)
}
extern "C" int
-getgrgid_r (__gid32_t gid, struct group *grp, char *buffer, size_t bufsize,
- struct group **result)
+getgrgid_r (__gid32_t gid, struct __group32 *grp, char *buffer, size_t bufsize,
+ struct __group32 **result)
{
*result = NULL;
@@ -233,8 +233,8 @@ getgrgid (__gid16_t gid)
}
extern "C" int
-getgrnam_r (const char *nam, struct group *grp, char *buffer, size_t bufsize,
- struct group **result)
+getgrnam_r (const char *nam, struct __group32 *grp, char *buffer,
+ size_t bufsize, struct __group32 **result)
{
*result = NULL;