view future.h @ 213:fcc988c6f841

Fix ad9956 sweep rate setting. Disable clock divider on init. Simplify
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 14 Apr 2014 12:43:25 +0200
parents b955e35c07ae
children a2f99632a80c
line wrap: on
line source

#ifndef __FUTURE_H__
#define __FUTURE_H__

double round(double x);

typedef unsigned int time_t;
typedef long int suseconds_t;

struct timeval {
	time_t tv_sec;			/* seconds since 1970-01-01 */
	suseconds_t tv_usec;	/* microseconds */
};

struct timezone {
	int tz_minuteswest;
	int tz_dsttime;
};

int gettimeofday(struct timeval *tp, struct timezone *tzp);

#endif