summaryrefslogtreecommitdiff
path: root/driver_geostar.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-25 07:45:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-25 07:45:01 -0400
commit6f310500d6d026945b3072744c6bd0a7546ccb86 (patch)
tree28a280cfe2a61e0e35db148d4ceef3f24a86f2b7 /driver_geostar.c
parentffb6b67608c216db349af87b855495244301319a (diff)
downloadgpsd-6f310500d6d026945b3072744c6bd0a7546ccb86.tar.gz
splint cleanup. All regression tests pass.
Diffstat (limited to 'driver_geostar.c')
-rw-r--r--driver_geostar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_geostar.c b/driver_geostar.c
index a7c37689..6423dad6 100644
--- a/driver_geostar.c
+++ b/driver_geostar.c
@@ -505,9 +505,11 @@ static ssize_t geostar_control_send(struct gps_device_t *session,
static void geostar_init_query(struct gps_device_t *session)
{
+ /*@-compdef@*/
unsigned char buf[2 * 4];
/* Poll Software Version */
(void)geostar_write(session, 0xc1, buf, 1);
+ /*@+compdef@*/
}
static void geostar_event_hook(struct gps_device_t *session, event_t event)