summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-03 09:19:49 +0000
committerjulian <julian@FreeBSD.org>2004-09-03 09:19:49 +0000
commit42bfd75cfee107adb9e3fd0b3899fa4d0e7f0762 (patch)
tree620168a1e455387a9b638a808aff38ccbf39e013 /sys/kern/sched_4bsd.c
parent3bc1a1327bcd1aac0312165517627956aada4404 (diff)
downloadFreeBSD-src-42bfd75cfee107adb9e3fd0b3899fa4d0e7f0762.zip
FreeBSD-src-42bfd75cfee107adb9e3fd0b3899fa4d0e7f0762.tar.gz
Don't declare a function we are not defining.
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 30c0bb2..44e34a5 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -102,7 +102,9 @@ static void sched_setup(void *dummy);
static void maybe_resched(struct thread *td);
static void updatepri(struct ksegrp *kg);
static void resetpriority(struct ksegrp *kg);
+#ifdef SMP
static int forward_wakeup(int cpunum);
+#endif
static struct kproc_desc sched_kp = {
"schedcpu",
OpenPOWER on IntegriCloud