summaryrefslogtreecommitdiff
path: root/kern/mach_clock.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:30 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:09:42 +0900
commit16fda8b0bf4a05a35bdeaa798ff8432461634827 (patch)
treebac4d3904a9c69950caa9e40d1ae00478a3d58bd /kern/mach_clock.c
parent1f59548942a9c029154703374e9a65c289cc6783 (diff)
kern/mach_clock.c: remove forward declaration
* Makefrag.am: Include kern/priority.h. * kern/mach_clock.c (thread_quantum_update): Remove forward declaration. Include kern/priority.h. * kern/priority.h: New file. Add copyright. [_KERN_PRIORITY_H_]: Add ifndef. (thread_quantum_update): Add prototype.
Diffstat (limited to 'kern/mach_clock.c')
-rw-r--r--kern/mach_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c
index 844e7b3..29a14c9 100644
--- a/kern/mach_clock.c
+++ b/kern/mach_clock.c
@@ -54,6 +54,7 @@
#include <kern/thread.h>
#include <kern/time_stamp.h>
#include <kern/timer.h>
+#include <kern/priority.h>
#include <vm/vm_kern.h>
#include <sys/time.h>
#include <machine/mach_param.h> /* HZ */
@@ -148,7 +149,6 @@ void clock_interrupt(usec, usermode, basepri)
* Increment the CPU time statistics.
*/
{
- extern void thread_quantum_update(); /* in priority.c */
int state;
if (usermode)