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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setpriority.c b/libc/sysdeps/linux/common/setpriority.c
index 287ea8dd3..06476d88f 100644
--- a/libc/sysdeps/linux/common/setpriority.c
+++ b/libc/sysdeps/linux/common/setpriority.c
@@ -9,4 +9,6 @@
#include "syscalls.h"
#include <sys/resource.h>
-_syscall3(int, setpriority, __priority_which_t, which, id_t, who, int, prio);
+#define __NR___setpriority __NR_setpriority
+attribute_hidden _syscall3(int, __setpriority, __priority_which_t, which, id_t, who, int, prio);
+strong_alias(__setpriority,setpriority)