diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-09-06 05:14:14 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-09-06 05:19:19 -0400 |
commit | 77d0a8490c4333fb8c25f8a33d523e775f1b1156 (patch) | |
tree | 7fbdbeac2d44495d9fdec1cd14415de3be33346f /gpsctl.c | |
parent | 392356e35d30f573ae34f4416dcd23c8692a1789 (diff) | |
download | gpsd-77d0a8490c4333fb8c25f8a33d523e775f1b1156.tar.gz |
Minimal option requires conditionalization of some code.
All regression tests pass with default options (GPS tests are disabled with
minimal on, because socket_export is off).
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,7 @@ static bool hunting = true; */ #define REDIRECT_SNIFF 15 +#if defined(RECONFIGURE_ENABLE) || defined(CONTROLSEND_ENABLE) static void settle(struct gps_device_t *session) /* allow the device to settle after a control operation */ { @@ -46,6 +47,7 @@ static void settle(struct gps_device_t *session) (void)usleep(50000); (void)tcdrain(session->gpsdata.gps_fd); } +#endif /* defined(RECONFIGURE_ENABLE) || defined(CONTROLSEND_ENABLE) */ /* * Allows any response other than ERROR. Use it for queries where a |