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 /drivers.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 'drivers.c')
-rw-r--r-- | drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ * **************************************************************************/ -static int nmea_parse_input(struct gps_device_t *session) +static gps_mask_t nmea_parse_input(struct gps_device_t *session) { if (session->packet_type == SIRF_PACKET) { gpsd_report(2, "SiRF packet seen when NMEA expected.\n"); @@ -22,7 +22,7 @@ static int nmea_parse_input(struct gps_device_t *session) return 0; #endif /* SIRFII_ENABLE */ } else if (session->packet_type == NMEA_PACKET) { - int st = 0; + gps_mask_t st = 0; gpsd_report(2, "<= GPS: %s", session->outbuffer); if ((st=nmea_parse((char *)session->outbuffer,&session->gpsdata))==0) { #ifdef NON_NMEA_ENABLE |