summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-15 02:19:44 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-15 02:19:44 -0400
commit4f39917c18d6682bc02d39c4af8fd78cdee3ccd6 (patch)
tree5a6b00500edf72e4479074caffdfd9053c2d620e /gpsd.h-tail
parent3780d4aa916d911cf28a087cb7ad0c9d245c03e2 (diff)
downloadgpsd-4f39917c18d6682bc02d39c4af8fd78cdee3ccd6.tar.gz
Minor fix for the lerap-second notification patch
Without this pps=false builds fail.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 1c518461..82385e60 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -217,12 +217,12 @@ struct gps_context_t {
/* timekeeping */
time_t start_time; /* local time of daemon startup */
int leap_seconds; /* Unix seconds to UTC (GPS-UTC offset) */
- int leap_notify; /* notification state from subframe */
unsigned short gps_week; /* GPS week, actually 10 bits */
double gps_tow; /* GPS time of week, actually 19 bits */
int century; /* for NMEA-only devices without ZDA */
int rollovers; /* rollovers since start of run */
#ifdef NTPSHM_ENABLE
+ int leap_notify; /* notification state from subframe */
bool enable_ntpshm;
/* we need the volatile here to tell the C compiler not to
* 'optimize' as 'dead code' the writes to SHM */