summaryrefslogtreecommitdiff
path: root/rtcmdecode.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-13 03:12:31 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-13 03:12:31 +0000
commitacb0746f01a40482007abea14a398bf4ba2534e2 (patch)
treea6696f65a69e8385ea35dd6c3d19d2f7dedf5ab6 /rtcmdecode.c
parentdd9fd4f65e3a0726edd551531b0459b8a52b85c3 (diff)
downloadgpsd-acb0746f01a40482007abea14a398bf4ba2534e2.tar.gz
Merge working Evermore state-machine from Petr Slansky.
Also merge in hooks that connect RTCM parsing to the packet getter.
Diffstat (limited to 'rtcmdecode.c')
-rw-r--r--rtcmdecode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/rtcmdecode.c b/rtcmdecode.c
index 294b5a44..46a89423 100644
--- a/rtcmdecode.c
+++ b/rtcmdecode.c
@@ -2,13 +2,11 @@
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
-
-#include "gpsd.h"
-#include "rtcm.h"
-
#include <stdio.h>
#include <stdarg.h>
+#include "gpsd.h"
+
static int verbose = 5;
void gpsd_report(int errlevel, const char *fmt, ... )
@@ -26,6 +24,7 @@ void gpsd_report(int errlevel, const char *fmt, ... )
(void)fputs(buf, stderr);
}
}
+
void rtcm_print_msg(struct rtcm_msghdr *msghdr)
/* dump the contents of a parsed RTCM104 message */
{