aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/i386/setresgid.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/setresuid.c2
-rw-r--r--sysdeps/unix/sysv/linux/llseek.c2
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)
{