From ea1b6fe180e701300eb1a9e05237726acd8651df Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 27 Aug 2014 07:05:21 -0400 Subject: A steo topwrds eliminating the reverse linkage of gpd_report(). All regression tests pass. --- driver_rtcm3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver_rtcm3.c') diff --git a/driver_rtcm3.c b/driver_rtcm3.c index f5e6f832..5b9c9009 100644 --- a/driver_rtcm3.c +++ b/driver_rtcm3.c @@ -65,7 +65,7 @@ BSD terms apply: see the file COPYING in the distribution root for details. /* *INDENT-OFF* */ /*@ -type @*//* re-enable when we're ready to take this live */ -void rtcm3_unpack(const int debug, +void rtcm3_unpack(const struct gps_context_t *context, /*@out@*/ struct rtcm3_t *rtcm, char *buf) /* break out the raw bits into the scaled report-structure fields */ { @@ -97,7 +97,7 @@ void rtcm3_unpack(const int debug, rtcm->length = (uint)ugrab(10); rtcm->type = (uint)ugrab(12); - gpsd_report(debug, LOG_RAW, "RTCM3: type %d payload length %d\n", + gpsd_report(context->debug, LOG_RAW, "RTCM3: type %d payload length %d\n", rtcm->type, rtcm->length); switch (rtcm->type) { -- cgit v1.2.1