summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-16 00:14:41 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commitf1b261205a9bc1533af851e6fc41f2af6e8e1188 (patch)
treea225ef46bafd3ce96bf0f06e3560ea89b7d50a8a
parent9988809c45696331e4ff6a831653f042211ad8ae (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* kern/time_stamp.h (timestamp_init): Add prototype. * kern/startup.c: Include <kern/time_stamp.h>.
-rw-r--r--ChangeLog2
-rw-r--r--kern/startup.c1
-rw-r--r--kern/time_stamp.h3
3 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f7f7dfc..8ac567b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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_ */