summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits/sched.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-06-08 19:25:07 +0000
committerUlrich Drepper <drepper@redhat.com>2007-06-08 19:25:07 +0000
commit755db8c5bd8d85c946efdaafac71591393f59c60 (patch)
treef87f36d83f36961d2bf6be2415efbce4384edb84 /sysdeps/unix/sysv/linux/bits/sched.h
parent36dffb2256f4ad8fa45feaf0617d8c5570a92cdb (diff)
downloadglibc-755db8c5bd8d85c946efdaafac71591393f59c60.tar.gz
* sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of
__sched_cpucount as const. * posix/sched_cpucount.c: Adjust.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/sched.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 31db66f8ac..96ae96f826 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -131,7 +131,8 @@ typedef struct
((cpusetp)->__bits[__CPUELT (cpu)] &= ~__CPUMASK (cpu))
# define __CPU_ISSET(cpu, cpusetp) \
(((cpusetp)->__bits[__CPUELT (cpu)] & __CPUMASK (cpu)) != 0)
-extern int __sched_cpucount (size_t __setsize, cpu_set_t *__setp) __THROW;
+extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
+ __THROW;
# define __CPU_COUNT(cpusetp) \
__sched_cpucount (sizeof (cpu_set_t), cpusetp)
#endif