diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-11-28 07:40:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-11-28 07:40:13 +0000 |
commit | 49f3a758597f7904ba7e779156df8f9b61c06303 (patch) | |
tree | e1f09e4f949ff0a76acba7fbbeb3192e5311d2c8 /sysdeps | |
parent | 8c0b7170956ed028472b4c1ef1d94608101da565 (diff) | |
download | glibc-49f3a758597f7904ba7e779156df8f9b61c06303.tar.gz glibc-49f3a758597f7904ba7e779156df8f9b61c06303.tar.xz 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')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setresgid.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setresuid.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/llseek.c | 2 |
3 files changed, 6 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) { diff --git a/sysdeps/unix/sysv/linux/llseek.c b/sysdeps/unix/sysv/linux/llseek.c index 280f83d72e..e62223ded1 100644 --- a/sysdeps/unix/sysv/linux/llseek.c +++ b/sysdeps/unix/sysv/linux/llseek.c @@ -27,6 +27,8 @@ extern int __syscall__llseek (int fd, off_t offset_hi, off_t offset_lo, loff_t *__unbounded result, int whence); /* Seek to OFFSET on FD, starting from WHENCE. */ +extern loff_t __llseek (int fd, loff_t offset, int whence); + loff_t __llseek (int fd, loff_t offset, int whence) { |