summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setpriority.c')
-rw-r--r--libc/sysdeps/linux/common/setpriority.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/setpriority.c b/libc/sysdeps/linux/common/setpriority.c
index 06476d88f..7347786af 100644
--- a/libc/sysdeps/linux/common/setpriority.c
+++ b/libc/sysdeps/linux/common/setpriority.c
@@ -9,6 +9,6 @@
#include "syscalls.h"
#include <sys/resource.h>
-#define __NR___setpriority __NR_setpriority
-attribute_hidden _syscall3(int, __setpriority, __priority_which_t, which, id_t, who, int, prio);
-strong_alias(__setpriority,setpriority)
+_syscall3(int, setpriority, __priority_which_t, which, id_t, who, int, prio);
+libc_hidden_proto(setpriority)
+libc_hidden_def(setpriority)