summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-07-07 18:00:33 +0000
committerguenther <guenther@openbsd.org>2011-07-07 18:00:33 +0000
commit9d9e0950cb273253ca744782656d0e61fb31483d (patch)
tree9994b7fc13654f0e294e7ee2b7aaafc1712eabd0 /sys/sys/sched.h
parentFix reload: (diff)
downloadwireguard-openbsd-9d9e0950cb273253ca744782656d0e61fb31483d.tar.xz
wireguard-openbsd-9d9e0950cb273253ca744782656d0e61fb31483d.zip
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/sys/sched.h')
-rw-r--r--sys/sys/sched.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index f54e4e88aa6..fc2d3a54de1 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.28 2010/05/14 18:47:56 kettenis Exp $ */
+/* $OpenBSD: sched.h,v 1.29 2011/07/07 18:00:33 guenther Exp $ */
/* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */
/*-
@@ -136,6 +136,8 @@ struct proc;
void schedclock(struct proc *);
struct cpu_info;
void roundrobin(struct cpu_info *);
+void scheduler_start(void);
+void updatepri(struct proc *);
void sched_init_cpu(struct cpu_info *);
void sched_idle(void *);