diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | kern/startup.c | 1 | ||||
-rw-r--r-- | kern/time_stamp.h | 3 |
3 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,8 @@ prototypes. * kern/sched_prim.h (update_priority, compute_my_priority): Add prototypes. + * kern/time_stamp.h (timestamp_init): Add prototype. + * kern/startup.c: Include <kern/time_stamp.h>. 2008-07-04 Samuel Thibault <samuel.thibault@ens-lyon.org> diff --git a/kern/startup.c b/kern/startup.c index e09cfdb..6595d61 100644 --- a/kern/startup.c +++ b/kern/startup.c @@ -42,6 +42,7 @@ #include <kern/thread.h> #include <kern/thread_swap.h> #include <kern/timer.h> +#include <kern/time_stamp.h> #include <kern/zalloc.h> #include <vm/vm_kern.h> #include <vm/vm_map.h> diff --git a/kern/time_stamp.h b/kern/time_stamp.h index 480d2f1..becaae1 100644 --- a/kern/time_stamp.h +++ b/kern/time_stamp.h @@ -62,4 +62,7 @@ unsigned ts_tick_count; #define TS_FORMAT_DEFAULT 1 #define TS_FORMAT_MMAX 2 + +extern void timestamp_init(void); + #endif /* _KERN_TIME_STAMP_H_ */ |