summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-29 14:57:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-29 14:57:50 -0400
commit5a2704d6e0db2741f731d24ecc415215c70965bd (patch)
tree3fe38deb085870d030ba150a318cf7c250f5beb5 /gpsd.c
parent4667a02f7ede778f911bb8af1a01cba68802eb1a (diff)
downloadgpsd-5a2704d6e0db2741f731d24ecc415215c70965bd.tar.gz
Minor splint annotation of new /dev/pps code.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 49dd299f..a647283c 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1712,9 +1712,11 @@ static void ship_pps_message(struct gps_device_t *session,
* Device better have reported in its last cycle or
* time will be misleading.
*/
+ /*@-type@*//* splint is confused about struct timespec */
tc = device->pps_thread.fixin;
tc.real.tv_sec += 1;
td = (struct timedelta_t *)&tc; /* cast discards volatile */
+ /*@-type@*/
} else
return;
}