summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/getresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/getresgid.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/getresgid.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/getresgid.c b/sysdeps/unix/sysv/linux/i386/getresgid.c
index 235d9d996a..9314067fd7 100644
--- a/sysdeps/unix/sysv/linux/i386/getresgid.c
+++ b/sysdeps/unix/sysv/linux/i386/getresgid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -48,7 +48,7 @@ extern int __libc_missing_32bit_uids;
int
-getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid)
+__getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid)
{
# if __ASSUME_32BITUIDS > 0
return INLINE_SYSCALL (getresgid32, 3, CHECK_1 (rgid),
@@ -85,6 +85,9 @@ getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid)
return result;
# endif
}
+libc_hidden_def (__getresgid)
+weak_alias (__getresgid, getresgid)
+
#else
# include <sysdeps/generic/getresgid.c>
#endif