aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/time.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-15 09:09:48 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-15 09:09:48 +0100
commit0df54d980737b7c4bb07aa4ac29e1e7689a6019b (patch)
tree69c7a044efe1f909f03ad9ff32ef5a8e0d8a390f /extras/mini-os/include/time.h
parent4a493bdc5c1f3ba22004fd6a260fc7b4c6d23fce (diff)
downloadxen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.gz
xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.bz2
xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.zip
minios: switch to C99 integer types
This is a necessary step to make minios build on NetBSD. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'extras/mini-os/include/time.h')
-rw-r--r--extras/mini-os/include/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/mini-os/include/time.h b/extras/mini-os/include/time.h
index ac83df855b..5d6ed672d1 100644
--- a/extras/mini-os/include/time.h
+++ b/extras/mini-os/include/time.h
@@ -29,7 +29,7 @@
* The other macros are for convenience to approximate short intervals
* of real time into system time
*/
-typedef s64 s_time_t;
+typedef int64_t s_time_t;
#define NOW() ((s_time_t)monotonic_clock())
#define SECONDS(_s) (((s_time_t)(_s)) * 1000000000UL )
#define TENTHS(_ts) (((s_time_t)(_ts)) * 100000000UL )
@@ -57,7 +57,7 @@ void init_time(void);
void fini_time(void);
s_time_t get_s_time(void);
s_time_t get_v_time(void);
-u64 monotonic_clock(void);
+uint64_t monotonic_clock(void);
void block_domain(s_time_t until);
#endif /* _MINIOS_TIME_H_ */