summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-08 12:38:06 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-08 12:38:06 -0400
commitfc0e032da5ca1c4b1e04a146220909eddebb6b86 (patch)
tree0d13d63aebe1159ca20a41847a6ebe371d7e9c75 /gpsmon.c
parent0deeeb2b1fb55d78c4abedbf88c8f46d9b300ed6 (diff)
downloadgpsd-fc0e032da5ca1c4b1e04a146220909eddebb6b86.tar.gz
ppsthread.c is now fully decoupled from the libgpsd_core.c structures.
The files ntpshm.h ntpshmread.c ntpshmwrite.c ppsthread.[ch] timespec_str.[ch] now form a standalone group which can be used for NTP communication and PPS thread monitoring. Separation is not yet perfect, as ppsthread.c requires gpsd_config.h for HAVE_SYS_TIMEPPS_H and npshmread.c/ntpshmwrite.c both require compiler.h. All regression tests pass. PPS is live on a GR-601W.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsmon.c b/gpsmon.c
index b39eee94..0e0b428c 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -31,6 +31,7 @@
#include "gpsdclient.h"
#include "revision.h"
#include "strfuncs.h"
+#include "timespec_str.h"
#define BUFLEN 2048