summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-26 23:01:35 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-26 23:01:35 +0000
commitb6d618295d76be1ba65b1c69ecc74cd4b05ef80d (patch)
tree9dd0295d46017b6a4ae98d000cc0d5b4185dd690 /drivers.c
parentc1ac87b114bef574d1ae200f1068ff6f76c919e7 (diff)
downloadgpsd-b6d618295d76be1ba65b1c69ecc74cd4b05ef80d.tar.gz
Gary has a better fix.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers.c b/drivers.c
index 304237ce..4d667d27 100644
--- a/drivers.c
+++ b/drivers.c
@@ -219,7 +219,8 @@ static struct gps_type_t tripmate = {
*
**************************************************************************/
-extern struct gps_type_t zodiac_binary, earthmate;
+extern struct gps_type_t zodiac_binary;
+static struct gps_type_t earthmate;
/*
* There is a good HOWTO at <http://www.hamhud.net/ka9mva/earthmate.htm>.
@@ -239,7 +240,7 @@ static void earthmate_initializer(struct gps_device_t *session)
if (zodiac_binary.initializer) zodiac_binary.initializer(session);
}
-/* static */ struct gps_type_t earthmate = {
+static struct gps_type_t earthmate = {
"Delorme EarthMate (pre-2003, Zodiac chipset)", /* full name of type */
"EARTHA", /* tells us to switch to Earthmate */
NULL, /* no probe */