summaryrefslogtreecommitdiff
path: root/zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-10 00:27:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-10 00:27:33 +0000
commitfe1d49417023d154942cae0556ca0f44204eb6fc (patch)
tree1c5677729e1de7fef28d739ddc8cb33eda4012a2 /zodiac.c
parent14eacef3d14b6fbdb0b74bf82393ce98d327a171 (diff)
downloadgpsd-fe1d49417023d154942cae0556ca0f44204eb6fc.tar.gz
Type cleanup.
Mainly introducing size_t, speed_t, and bool to replace plain integral types. Passes all regression tests.
Diffstat (limited to 'zodiac.c')
-rw-r--r--zodiac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zodiac.c b/zodiac.c
index 430c061d..4aff655b 100644
--- a/zodiac.c
+++ b/zodiac.c
@@ -78,7 +78,7 @@ static void zodiac_spew(struct gps_device_t *session, int type, unsigned short *
gpsd_report(5, "Sent Zodiac packet: %s\n",buf);
}
-static bool zodiac_speed_switch(struct gps_device_t *session, unsigned int speed)
+static bool zodiac_speed_switch(struct gps_device_t *session, speed_t speed)
{
unsigned short data[15];