From c162b59cc20cec6ccccf4ae536e38492d97b833f Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 14 Mar 2008 15:22:38 +0000 Subject: [PATCH] Make the function prototype for cpu_search() match the declaration so that this still compiles with gcc3. --- sys/kern/sched_ule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 563d0aa8b4d7..eb9f7363463e 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -528,7 +528,7 @@ struct cpu_search { for ((cpu) = 0; (cpu) < sizeof((mask)) * 8; (cpu)++) \ if ((mask) & 1 << (cpu)) -__inline int cpu_search(struct cpu_group *cg, struct cpu_search *low, +static __inline int cpu_search(struct cpu_group *cg, struct cpu_search *low, struct cpu_search *high, const int match); int cpu_search_lowest(struct cpu_group *cg, struct cpu_search *low); int cpu_search_highest(struct cpu_group *cg, struct cpu_search *high); @@ -576,7 +576,7 @@ cpu_compare(int cpu, struct cpu_search *low, struct cpu_search *high, * match argument. It is reduced to the minimum set for each case. It is * also recursive to the depth of the tree. */ -static inline int +static __inline int cpu_search(struct cpu_group *cg, struct cpu_search *low, struct cpu_search *high, const int match) {