summaryrefslogtreecommitdiff
path: root/test_geoid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-26 16:23:26 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-26 21:27:27 -0400
commitf5844e476f5c82fc77fbf6edbc9f9cdedb9a4469 (patch)
treeb98e47cde2930a6ea37e6374ad64244dc4a04a02 /test_geoid.c
parentb804eff07e5b6e85a1db4027b4c13e721d9b6754 (diff)
downloadgpsd-f5844e476f5c82fc77fbf6edbc9f9cdedb9a4469.tar.gz
Eliminate a mention of gpsd_report.
Diffstat (limited to 'test_geoid.c')
-rw-r--r--test_geoid.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/test_geoid.c b/test_geoid.c
index 19e926ba..7c349010 100644
--- a/test_geoid.c
+++ b/test_geoid.c
@@ -10,17 +10,6 @@
#include "gpsd.h"
-void gpsd_report(const int debuglevel, const int errlevel,
- const char *fmt, ...)
-{
- va_list ap;
-
- va_start(ap, fmt);
- gpsd_labeled_report(debuglevel, errlevel, "geoid:", fmt, ap);
- va_end(ap);
-
-}
-
int main(int argc, char **argv)
{
double lat, lon;
@@ -30,8 +19,8 @@ int main(int argc, char **argv)
return 1;
}
- lat = safe_atof(argv[1]);
- lon = safe_atof(argv[2]);
+ lat = atof(argv[1]);
+ lon = atof(argv[2]);
if (lat > 90. || lat < -90.) {
fprintf(stderr, " -90 <= lat=%s(%.f) <= 90 ?\n", argv[1], lat);