summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setsid.c')
-rw-r--r--libc/sysdeps/linux/common/setsid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setsid.c b/libc/sysdeps/linux/common/setsid.c
index 0e2e2a31e..b3e1e8706 100644
--- a/libc/sysdeps/linux/common/setsid.c
+++ b/libc/sysdeps/linux/common/setsid.c
@@ -9,4 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-_syscall0(pid_t, setsid);
+#define __NR___setsid __NR_setsid
+attribute_hidden _syscall0(pid_t, __setsid);
+strong_alias(__setsid,setsid)