summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-24 17:04:24 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-24 17:04:24 +0000
commitbc2b69d0fc926ab72ff5d135c844f48cf6cd9ebf (patch)
tree1870ed0e389710585d1a14c19b2ae57edc7dde01 /gps.h
parentc8db2130e1384bf92c26cf8de22c5f22522f2da6 (diff)
downloadgpsd-bc2b69d0fc926ab72ff5d135c844f48cf6cd9ebf.tar.gz
gpsutils.c needed its own header.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gps.h b/gps.h
index 1c00e634..74ca16f0 100644
--- a/gps.h
+++ b/gps.h
@@ -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 */