summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-20 03:09:15 +0000
committerjeff <jeff@FreeBSD.org>2008-03-20 03:09:15 +0000
commit4274384df886076474f9e4974ea43b737e4e9e12 (patch)
treec87bcd53e917989234dfd647b7f873c0cc93ac0d /sys/sys/sched.h
parent898428987bcd3a54189aa869a651d65d33d78009 (diff)
downloadFreeBSD-src-4274384df886076474f9e4974ea43b737e4e9e12.zip
FreeBSD-src-4274384df886076474f9e4974ea43b737e4e9e12.tar.gz
- Remove the unused and redundant sched_newproc() function.
- Remove the unused and redundant sched_newthread() which peaks into scheduler private structures.
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 431a929..fa57055 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -168,10 +168,10 @@ extern long switch_needresched;
#define SCHED_STAT_INC(var)
#endif
-/* temporarily here */
+/*
+ * Fixup scheduler state for proc0 and thread0
+ */
void schedinit(void);
-void sched_newproc(struct proc *p, struct thread *td);
-void sched_newthread(struct thread *td);
#endif /* _KERNEL */
/* POSIX 1003.1b Process Scheduling */
OpenPOWER on IntegriCloud