summaryrefslogtreecommitdiff
path: root/geoid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-26 19:19:29 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-26 19:19:29 +0000
commit39f94b2989d495fa2db1438f86c3d6a1bd6c5486 (patch)
tree9a5c475776cda42331c81d2be1e2b6f6fa5bcd55 /geoid.c
parent75cd79019c3f262746f8d7ca102e33495e0a6af5 (diff)
downloadgpsd-39f94b2989d495fa2db1438f86c3d6a1bd6c5486.tar.gz
More splint cleanup. Down to 1689 warnings.
Diffstat (limited to 'geoid.c')
-rw-r--r--geoid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/geoid.c b/geoid.c
index 9a201326..c0e1d0e8 100644
--- a/geoid.c
+++ b/geoid.c
@@ -23,6 +23,7 @@ static double bilinear(double x1, double y1, double x2, double y2, double x, dou
/* return geoid separtion (MSL - WGS84) in meters, given a lat/lot in degrees */
+/*@ +charint @*/
double wgs84_separation(double lat, double lon)
{
#define GEOID_ROW 19
@@ -47,6 +48,7 @@ double wgs84_separation(double lat, double lon)
/* 70N */ 2, 2, 1, -1, -3, -7,-14,-24,-27,-25,-19, 3, 24, 37, 47, 60, 61, 58, 51, 43, 29, 20, 12, 5, -2,-10, -14,-12,-10,-14,-12, -6, -2, 3, 6, 4, 2,
/* 80N */ 3, 1, -2, -3, -3, -3, -1, 3, 1, 5, 9, 11, 19, 27, 31, 34, 33, 34, 33, 34, 28, 23, 17, 13, 9, 4, 4, 1, -2, -2, 0, 2, 3, 2, 1, 1, 3,
/* 90N */ 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13};
+/*@ -charint @*/
int ilat, ilon;
int ilat1, ilat2, ilon1, ilon2;