summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_ule.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-03-14 15:22:38 +0000
committerjhb <jhb@FreeBSD.org>2008-03-14 15:22:38 +0000
commitc162b59cc20cec6ccccf4ae536e38492d97b833f (patch)
tree08da13997f43710cb023a0c211cb2445c74e0e7f /sys/kern/sched_ule.c
parent60dab6dffc8dffedc284a2ee4418e7961d27b007 (diff)
downloadFreeBSD-src-c162b59cc20cec6ccccf4ae536e38492d97b833f.zip
FreeBSD-src-c162b59cc20cec6ccccf4ae536e38492d97b833f.tar.gz
Make the function prototype for cpu_search() match the declaration so that
this still compiles with gcc3.
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r--sys/kern/sched_ule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index 563d0aa..eb9f736 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)
{
OpenPOWER on IntegriCloud