diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-16 17:58:35 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-16 17:58:35 -0500 |
commit | b5bb030d74d3546f86877d674ad439947fcd7640 (patch) | |
tree | 8f1254860886d9b0507720294fde242545817f0b /gpsd.h-tail | |
parent | b4377c155f47514eeb045642ec22d2e42b1d85f8 (diff) | |
download | gpsd-b5bb030d74d3546f86877d674ad439947fcd7640.tar.gz |
Revert the ntpshm allocation change - go back to using an external bool array.
We're now back to no logic changes since code freeze. If SHM(1) still fails
as Gray reported on the dev list, something else is going on.
All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index bf4ec919..2611421d 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -271,6 +271,7 @@ struct gps_context_t { /* we need the volatile here to tell the C compiler not to * 'optimize' as 'dead code' the writes to SHM */ /*@reldef@*/volatile struct shmTime *shmTime[NTPSHMSEGS]; + bool shmTimeInuse[NTPSHMSEGS]; #endif /* NTPSHM_ENABLE */ #ifdef PPS_ENABLE /*@null@*/ void (*pps_hook)(struct gps_device_t *, struct timedrift_t *); |