summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setregid.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-15 12:47:57 -0500
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-18 08:19:50 +0200
commit74c69da52ad5029cd2fc2d3d41d581022ed0a7aa (patch)
tree2e3e0673361790b6615a12be68ceadb2373f7663 /libc/sysdeps/linux/common/setregid.c
parent7c7b6d1a28d20df30da9318fe03a2e2a978a1aa9 (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/setregid.c')
-rw-r--r--libc/sysdeps/linux/common/setregid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setregid.c b/libc/sysdeps/linux/common/setregid.c
index 15d590a68..aaa729379 100644
--- a/libc/sysdeps/linux/common/setregid.c
+++ b/libc/sysdeps/linux/common/setregid.c
@@ -37,4 +37,4 @@ int setregid(gid_t rgid, gid_t egid)
}
#endif
-libc_hidden_def(setregid)
+libc_hidden_weak(setregid)