diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-04-15 12:47:57 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-04-18 08:19:50 +0200 |
commit | 74c69da52ad5029cd2fc2d3d41d581022ed0a7aa (patch) | |
tree | 2e3e0673361790b6615a12be68ceadb2373f7663 /libc/sysdeps/linux/common/setresuid.c | |
parent | 7c7b6d1a28d20df30da9318fe03a2e2a978a1aa9 (diff) |
fix static linking of pthread apps
When compiling python you get duplicate symbol problem.
Seen in the autobuilders of buildroot project.
Diffstat (limited to 'libc/sysdeps/linux/common/setresuid.c')
-rw-r--r-- | libc/sysdeps/linux/common/setresuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c index 022ccfe64..a2a218332 100644 --- a/libc/sysdeps/linux/common/setresuid.c +++ b/libc/sysdeps/linux/common/setresuid.c @@ -16,7 +16,7 @@ # define __NR_setresuid __NR_setresuid32 _syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) -libc_hidden_def(setresuid) +libc_hidden_weak(setresuid) #elif defined(__NR_setresuid) @@ -34,7 +34,7 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid) } return (__syscall_setresuid(ruid, euid, suid)); } -libc_hidden_def(setresuid) +libc_hidden_weak(setresuid) #endif |