summaryrefslogtreecommitdiff
path: root/gpsutils.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-25 04:12:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-25 04:12:28 +0000
commitc5f20d304ad9b171f7ec00adfdefd3112d47b58c (patch)
tree0876fbfffdcb2510eedbc77172a2a49a2f52492e /gpsutils.c
parente41d1138505e43c41945ca537ffd4683ab91975b (diff)
downloadgpsd-c5f20d304ad9b171f7ec00adfdefd3112d47b58c.tar.gz
Petr Slanky's latest Evermore patch and some splint cleanups.
Diffstat (limited to 'gpsutils.c')
-rw-r--r--gpsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsutils.c b/gpsutils.c
index c0547bc3..ade5cd57 100644
--- a/gpsutils.c
+++ b/gpsutils.c
@@ -163,7 +163,7 @@ double gpstime_to_unix(int week, double tow)
return fixtime;
}
-void unix_to_gpstime(double unixtime, int *week, double *tow)
+void unix_to_gpstime(double unixtime, /*@out@*/int *week, /*@out@*/double *tow)
{
unixtime -= GPS_EPOCH;
*week = (int)(unixtime / SECS_PER_WEEK);