aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-28 07:40:13 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-28 07:40:13 +0000
commit49f3a758597f7904ba7e779156df8f9b61c06303 (patch)
treee1f09e4f949ff0a76acba7fbbeb3192e5311d2c8 /sysdeps/unix/sysv/linux/i386
parent8c0b7170956ed028472b4c1ef1d94608101da565 (diff)
downloadglibc-49f3a758597f7904ba7e779156df8f9b61c06303.tar
glibc-49f3a758597f7904ba7e779156df8f9b61c06303.tar.gz
glibc-49f3a758597f7904ba7e779156df8f9b61c06303.tar.bz2
glibc-49f3a758597f7904ba7e779156df8f9b61c06303.zip
Update.
* misc/getusershell.c: Make strings in okshells array const. * misc/regexp.c: Add const to cast to avoid warnings. * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek. * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for __setresuid. * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for setresgid. * misc/error.c: Add prototypes for __error and __error_at_line. * misc/mntent_r.c (__getmntent_r): Add break at end of switch statement to avoid warning.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r--sysdeps/unix/sysv/linux/i386/setresgid.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/setresuid.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/setresgid.c b/sysdeps/unix/sysv/linux/i386/setresgid.c
index 51ee2141ed..5d77f4da74 100644
--- a/sysdeps/unix/sysv/linux/i386/setresgid.c
+++ b/sysdeps/unix/sysv/linux/i386/setresgid.c
@@ -41,6 +41,8 @@ extern int __libc_missing_32bit_uids;
# endif
# endif /* __NR_setresgid32 */
+extern int setresgid (gid_t rgid, gid_t egid, gid_t sgid);
+
int
setresgid (gid_t rgid, gid_t egid, gid_t sgid)
{
diff --git a/sysdeps/unix/sysv/linux/i386/setresuid.c b/sysdeps/unix/sysv/linux/i386/setresuid.c
index e5723a0336..55f22acc0f 100644
--- a/sysdeps/unix/sysv/linux/i386/setresuid.c
+++ b/sysdeps/unix/sysv/linux/i386/setresuid.c
@@ -41,6 +41,8 @@ extern int __libc_missing_32bit_uids;
# endif
# endif /* __NR_setresuid32 */
+extern int __setresuid (uid_t ruid, uid_t euid, uid_t suid);
+
int
__setresuid (uid_t ruid, uid_t euid, uid_t suid)
{