comparison future.h @ 91:4102fe614df2

Fix timestamping. Cleanup data providers
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 22 Mar 2013 16:32:15 +0100
parents be814b934eca
children b955e35c07ae
comparison
equal deleted inserted replaced
90:c9aec93005a4 91:4102fe614df2
1 #ifndef __FUTURE_H__
2 #define __FUTURE_H__
3
4 #include <ansi_c.h>
5
1 double round(double x); 6 double round(double x);
2 7
3 typedef long int suseconds_t; 8 typedef long int suseconds_t;
4 9
5 struct timeval { 10 struct timeval {
12 int tz_dsttime; 17 int tz_dsttime;
13 }; 18 };
14 19
15 int gettimeofday(struct timeval *tp, struct timezone *tzp); 20 int gettimeofday(struct timeval *tp, struct timezone *tzp);
16 21
17 struct tm * gmtime_r(time_t const *t, struct tm *tp); 22 #endif