aboutsummaryrefslogtreecommitdiffstats
path: root/test/spass/clock.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2014-12-17 15:28:01 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2014-12-17 15:28:01 +0100
commit4461db2bd92973b83bbd74c8f2eec16d702cffed (patch)
treeb02c8d646631662a5309238c13306a7d1f3e72db /test/spass/clock.h
parent20c70573181f81c99ea4e8797615dac8308a9b18 (diff)
parentc1daedb244d1f7586c12749642b0d78ae910e60a (diff)
downloadcompcert-4461db2bd92973b83bbd74c8f2eec16d702cffed.tar.gz
compcert-4461db2bd92973b83bbd74c8f2eec16d702cffed.zip
Merge branch 'master' into pure-makefiles
Diffstat (limited to 'test/spass/clock.h')
-rw-r--r--test/spass/clock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spass/clock.h b/test/spass/clock.h
index 6e675742..80f6c003 100644
--- a/test/spass/clock.h
+++ b/test/spass/clock.h
@@ -49,7 +49,7 @@
#include "misc.h"
#include <sys/types.h>
-#include <sys/timeb.h>
+#include <sys/time.h>
typedef enum {
clock_BACKTRACK,
@@ -61,7 +61,7 @@ typedef enum {
clock_TYPESIZE
} CLOCK_CLOCKS;
-typedef struct timeb CLOCK_TMS;
+typedef struct timeval CLOCK_TMS;
void clock_Init(void);
void clock_InitCounter(CLOCK_CLOCKS);