summaryrefslogtreecommitdiff
path: root/test_geoid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-29 01:42:45 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-29 01:46:53 -0400
commit4361ec2d89bdf451602d659ddfd0fb9a79c178a2 (patch)
treeaf067d1d7614a9e67f449eec933ba3347cde10b0 /test_geoid.c
parenta77b95b57475c2856707e91b197f8aaa8e5eb407 (diff)
downloadgpsd-4361ec2d89bdf451602d659ddfd0fb9a79c178a2.tar.gz
Change gpsd_report to no longer use a global. All regression tests pass.
This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
Diffstat (limited to 'test_geoid.c')
-rw-r--r--test_geoid.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test_geoid.c b/test_geoid.c
index a6d5b779..e88251df 100644
--- a/test_geoid.c
+++ b/test_geoid.c
@@ -9,11 +9,6 @@
#include "gpsd.h"
-void gpsd_report(int errlevel UNUSED, const char *fmt UNUSED, ...)
-{
- /* stub required to prevent linkage error */
-}
-
int main(int argc, char **argv)
{
double lat, lon;