diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-24 17:04:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-24 17:04:24 +0000 |
commit | bc2b69d0fc926ab72ff5d135c844f48cf6cd9ebf (patch) | |
tree | 1870ed0e389710585d1a14c19b2ae57edc7dde01 /gps.h | |
parent | c8db2130e1384bf92c26cf8de22c5f22522f2da6 (diff) | |
download | gpsd-bc2b69d0fc926ab72ff5d135c844f48cf6cd9ebf.tar.gz |
gpsutils.c needed its own header.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -10,12 +10,11 @@ extern "C" { #include <sys/types.h> #include <sys/time.h> #include <time.h> +#include "gpsutils.h" #define MAXCHANNELS 12 /* maximum GPS channels (*not* satellites!) */ #define MAXNAMELEN 6 /* maximum length of NMEA tag name */ -static inline double timestamp(void) {struct timeval tv; gettimeofday(&tv, NULL); return(tv.tv_sec + tv.tv_usec/1e6);} - /* * The structure describing an uncertainty volume in kinematic space. * This is what GPSes are meant to produce; all the other info is @@ -187,8 +186,6 @@ void gps_set_raw_hook(struct gps_data_t *gpsdata, void (*hook)(struct gps_data_t } /* End of the 'extern "C"' block */ #endif -extern char *unix_to_iso8661(double t, char *); - #endif /* gps_h */ /* gps.h ends here */ |