summaryrefslogtreecommitdiff
path: root/sys/kern/sched_bsd.c
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-07-07 18:00:34 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-07-07 18:00:34 +0000
commitc5f3bbcb26284d9b4d7bc6b34ee7042ef8ad1ea7 (patch)
tree75d645a7f18e0a044a68a6ae3cbeed5f0c3f3f6e /sys/kern/sched_bsd.c
parent323960b486363ceabc2690ee5011f82978a752fc (diff)
Functions used in files other than where they are defined should be
declared in .h files, not in each .c. Apply that rule to endtsleep(), scheduler_start(), updatepri(), and realitexpire() ok deraadt@ tedu@
Diffstat (limited to 'sys/kern/sched_bsd.c')
-rw-r--r--sys/kern/sched_bsd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/sched_bsd.c b/sys/kern/sched_bsd.c
index e24b022ee38..2a79afb234e 100644
--- a/sys/kern/sched_bsd.c
+++ b/sys/kern/sched_bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched_bsd.c,v 1.26 2011/07/06 01:49:42 art Exp $ */
+/* $OpenBSD: sched_bsd.c,v 1.27 2011/07/07 18:00:33 guenther Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -61,12 +61,7 @@ int rrticks_init; /* # of hardclock ticks per roundrobin() */
struct __mp_lock sched_lock;
#endif
-void scheduler_start(void);
-
-void roundrobin(struct cpu_info *);
void schedcpu(void *);
-void updatepri(struct proc *);
-void endtsleep(void *);
void
scheduler_start(void)