From b4d73a11770826f5195ce6ebafd4538e3755f30a Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 30 Sep 2008 11:58:17 +0000 Subject: - add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBS --- libc/sysdeps/linux/common/sched_setaffinity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/sched_setaffinity.c b/libc/sysdeps/linux/common/sched_setaffinity.c index 004ec9dd0..756770c48 100644 --- a/libc/sysdeps/linux/common/sched_setaffinity.c +++ b/libc/sysdeps/linux/common/sched_setaffinity.c @@ -82,7 +82,7 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) #endif #if defined ___HAVE_NO_sched_setaffinity && defined __UCLIBC_HAS_STUBS__ -int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) +int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) { __set_errno(ENOSYS); return -1; -- cgit v1.2.3