summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_getaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sched_getaffinity.c')
-rw-r--r--libc/sysdeps/linux/common/sched_getaffinity.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/sched_getaffinity.c b/libc/sysdeps/linux/common/sched_getaffinity.c
index 5d5e5b2c4..8982582cc 100644
--- a/libc/sysdeps/linux/common/sched_getaffinity.c
+++ b/libc/sysdeps/linux/common/sched_getaffinity.c
@@ -44,11 +44,5 @@ int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
}
return res;
}
-#elif defined __UCLIBC_HAS_STUBS__
-int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
-{
- __set_errno(ENOSYS);
- return -1;
-}
#endif
#endif