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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/setsid.c b/libc/sysdeps/linux/common/setsid.c
index b3e1e8706..6b63e3a31 100644
--- a/libc/sysdeps/linux/common/setsid.c
+++ b/libc/sysdeps/linux/common/setsid.c
@@ -9,6 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-#define __NR___setsid __NR_setsid
-attribute_hidden _syscall0(pid_t, __setsid);
-strong_alias(__setsid,setsid)
+_syscall0(pid_t, setsid);
+libc_hidden_proto(setsid)
+libc_hidden_def(setsid)