about summary refs log tree commit diff
path: root/sysdeps/generic/getresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getresgid.c')
-rw-r--r--sysdeps/generic/getresgid.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/getresgid.c b/sysdeps/generic/getresgid.c
index 92f9019393..d6a9b52957 100644
--- a/sysdeps/generic/getresgid.c
+++ b/sysdeps/generic/getresgid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,1998,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
@@ -19,12 +19,15 @@
 #include <errno.h>
 #include <unistd.h>
 
+/* Fetch the effective group ID, real group ID, and saved-set group ID,
+   of the calling process.  */
 int
-__getresgid (gid_t egid, gid_t rgid, gid_t sgid)
+__getresgid (gid_t *egid, gid_t *rgid, gid_t *sgid)
 {
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__getresgid)
 stub_warning (getresgid)
 
 weak_alias (__getresgid, getresgid)