diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-17 05:39:55 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-17 05:39:55 -0400 |
commit | 8321b23bb725b098ae1f2220e777dbcfe827d393 (patch) | |
tree | 818b775f7fb204bc20ea3dfc32b216e37658c7f1 /gpsd.h-tail | |
parent | 96621804887d8f800e535dbbaa6e85a482803fee (diff) | |
download | gpsd-8321b23bb725b098ae1f2220e777dbcfe827d393.tar.gz |
Prevent a race between KPPS initialization and privilege dropping.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 9c22d8d3..0150f31b 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -799,6 +799,8 @@ extern void ntpshm_init(struct gps_context_t *, bool); extern int ntpshm_put(struct gps_device_t *, double, double); extern void ntpd_link_deactivate(struct gps_device_t *); extern void ntpd_link_activate(struct gps_device_t *); +extern void gpsd_await_pps_initialization(void); + extern void ecef_to_wgs84fix(/*@out@*/struct gps_fix_t *, /*@out@*/double *, |