diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-17 08:18:58 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-17 08:18:58 -0500 |
commit | ef398df4788cc2055e9da5e26ef28612e266bf98 (patch) | |
tree | c4d44417aebdbb5c3912f9f4e06c03435ea96082 /monitor_nmea.c | |
parent | 24e944b7f643dd05fe81434112038d351ea7f78c (diff) | |
download | gpsd-ef398df4788cc2055e9da5e26ef28612e266bf98.tar.gz |
Clean up warnings reported by Charles Curley.
Diffstat (limited to 'monitor_nmea.c')
-rw-r--r-- | monitor_nmea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_nmea.c b/monitor_nmea.c index 5f6167aa..f5e10f22 100644 --- a/monitor_nmea.c +++ b/monitor_nmea.c @@ -301,7 +301,7 @@ const struct monitor_object_t nmea_mmt = { * *****************************************************************************/ -#ifdef ALLOW_CONTROLSEND +#if defined(ALLOW_CONTROLSEND) && defined(ASHTECH_ENABLE) static void monitor_nmea_send(const char *fmt, ...) { char buf[BUFSIZ]; @@ -312,7 +312,7 @@ static void monitor_nmea_send(const char *fmt, ...) va_end(ap); (void)monitor_control_send((unsigned char *)buf, strlen(buf)); } -#endif /* ALLOW_CONTROLSEND */ +#endif /* defined(ALLOW_CONTROLSEND) && defined(ASHTECH_ENABLE) */ /* * Yes, it's OK for most of these to be clones of the generic NMEA monitor |