summaryrefslogtreecommitdiff
path: root/ntpshmread.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 /ntpshmread.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 'ntpshmread.c')
-rw-r--r--ntpshmread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ntpshmread.c b/ntpshmread.c
index 1282f779..11532e1a 100644
--- a/ntpshmread.c
+++ b/ntpshmread.c
@@ -20,7 +20,6 @@
#endif /* S_SPLINT_S*/
#include "ntpshm.h"
-#include "compiler.h"
struct shmTime /*@null@*/ *shm_get(const int unit, const bool create, const bool forall)
/* initialize a SHM segment */