diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-06-07 23:30:26 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-06-07 23:30:26 +0000 |
commit | cec96db6986eeb894e43dd01a6e1a26cef3ad706 (patch) | |
tree | c7198436c20d6b06476e33afd09f82f2508ae336 /tsip.c | |
parent | 1efc70b98907350347785a6f5e21f9179cbc075b (diff) | |
download | gpsd-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |