summaryrefslogtreecommitdiff
path: root/tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-07 23:30:26 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-07 23:30:26 +0000
commitcec96db6986eeb894e43dd01a6e1a26cef3ad706 (patch)
treec7198436c20d6b06476e33afd09f82f2508ae336 /tsip.c
parent1efc70b98907350347785a6f5e21f9179cbc075b (diff)
downloadgpsd-cec96db6986eeb894e43dd01a6e1a26cef3ad706.tar.gz
41 splint warnings.
gps_mask_t type introduced so we won't wire in a bunch of dependencies on the size of the flag mask.
Diffstat (limited to 'tsip.c')
-rw-r--r--tsip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tsip.c b/tsip.c
index 598eb5d1..64ae80e2 100644
--- a/tsip.c
+++ b/tsip.c
@@ -119,9 +119,10 @@ static bool tsip_speed_switch(struct gps_device_t *session, unsigned int speed)
return true; /* it would be nice to error-check this */
}
-static int tsip_analyze(struct gps_device_t *session)
+static gps_mask_t tsip_analyze(struct gps_device_t *session)
{
- int i, len, mask = 0;
+ int i, len;
+ gps_mask_t mask = 0;
unsigned int id, u1;
short s1,s2;
float f1,f2,f3,f4,f5;