diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 01:42:45 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 01:46:53 -0400 |
commit | 4361ec2d89bdf451602d659ddfd0fb9a79c178a2 (patch) | |
tree | af067d1d7614a9e67f449eec933ba3347cde10b0 /test_geoid.c | |
parent | a77b95b57475c2856707e91b197f8aaa8e5eb407 (diff) | |
download | gpsd-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.c | 5 |
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; |