summaryrefslogtreecommitdiff
path: root/timebase.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-01-22 07:46:42 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-01-22 07:46:42 -0500
commit9d58b25c80f26eaea292154b267d13f245d69c9c (patch)
tree5821b0380ec041ee1a226df2c8323d45f4e7921e /timebase.c
parentc4106206c4c727314c917f85981ab329d5a34899 (diff)
downloadgpsd-9d58b25c80f26eaea292154b267d13f245d69c9c.tar.gz
splint cleanup.
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/timebase.c b/timebase.c
index 6723081b..c640383e 100644
--- a/timebase.c
+++ b/timebase.c
@@ -92,7 +92,9 @@ void gpsd_time_init(struct gps_context_t *context, time_t starttime)
* the timezone offset). Avoid this and all manner of other local
* time issues by telling the system we want times returned in UTC.
*/
+ /*@-observertrans@*/
(void)putenv("TZ=UTC");
+ /*@+observertrans@*/
/*
* Provides a start time for getting the century. Do this, just