summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@users.berlios.de>2010-04-10 12:13:52 -0700
committerChris Kuethe <ckuethe@users.berlios.de>2010-04-10 12:13:52 -0700
commitf2d3053314a3a2c562660d80f395a01c82f360cb (patch)
tree1a66000a74d1af30c59dc3d9f692a362b9099051 /drivers.c
parent80789c9597cb42f12538b82cf00d312155a38a87 (diff)
downloadgpsd-f2d3053314a3a2c562660d80f395a01c82f360cb.tar.gz
compile with nmea off but sirf and garmintxt on
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers.c b/drivers.c
index 07ee7c8d..3a0a5b5b 100644
--- a/drivers.c
+++ b/drivers.c
@@ -221,10 +221,6 @@ static void nmea_event_hook(struct gps_device_t *session, event_t event)
}
}
-#if defined(SIRF_ENABLE) && defined(BINARY_ENABLE)
-extern const struct gps_type_t sirf_binary;
-#endif
-
#ifdef ALLOW_RECONFIGURE
static void nmea_mode_switch(struct gps_device_t *session, int mode)
{
@@ -1109,6 +1105,7 @@ extern const struct gps_type_t garmin_usb_binary, garmin_ser_binary;
extern const struct gps_type_t tsip_binary, oncore_binary;
extern const struct gps_type_t evermore_binary, italk_binary;
extern const struct gps_type_t navcom_binary, superstar2_binary;
+extern const struct gps_type_t sirf_binary;
/*@ -nullassign @*/
/* the point of this rigamarole is to not have to export a table size */