This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
setresgid,setresuid: Prototypes missing
- To: libc-hacker@cygnus.com
- Subject: setresgid,setresuid: Prototypes missing
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: Mon, 30 Nov 1998 20:00:55 +0100 (MET)
Hi,
I'm currently compiling the current glibc 2.1 CVS version with
-Wmissing-prototypes and noticed the following messages:
../sysdeps/unix/sysv/linux/i386/setresgid.c:34: warning: no previous prototype for `setresgid'
../sysdeps/unix/sysv/linux/i386/setresuid.c:34: warning: no previous prototype for `__setresuid'
Greping through /usr/include/* I couldn't find the declarations for
these functions. Where should the prototypes be added?
The Linux man pages have:
SYNOPSIS
#include <unistd.h>
int setresuid(uid_t ruid, uid_t euid, uid_t suid);
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
[...]
CONFORMING TO
This call is Linux-specific.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de