diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-10 01:20:17 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-10 01:20:17 +0000 |
commit | 186ad9889cd096cdac4403097264497b319e4ce4 (patch) | |
tree | 5c626e96012bff05391a60a324287a9821fffa08 /sirf.c | |
parent | b18e964b625d8a30f4860f34a6b5df940264a12d (diff) | |
download | gpsd-186ad9889cd096cdac4403097264497b319e4ce4.tar.gz |
quell compiler warning in the case of --disable-reconfigure
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -93,6 +93,7 @@ static bool sirf_speed(int ttyfd, speed_t speed) return (sirf_write(ttyfd, msg)); } +#ifdef ALLOW_RECONFIGURE static bool sirf_to_nmea(int ttyfd, speed_t speed) /* switch from binary to NMEA at specified baud */ { @@ -115,6 +116,7 @@ static bool sirf_to_nmea(int ttyfd, speed_t speed) msg[27] = (unsigned char)LO(speed); return (sirf_write(ttyfd, msg)); } +#endif /* ALLOW_RECONFIGURE */ static void sirfbin_mode(struct gps_device_t *session, int mode) { |