summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 12:08:26 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 12:08:26 -0400
commitaba7e7828dc7c4fdc40de46b7d7b4587dfe1af74 (patch)
treed2857ede74e1c1067e4f49efc89d31fe84a6343a /ais_json.c
parent5ee8b5f73f0b0b01321b853d0c27902452a21397 (diff)
downloadgpsd-aba7e7828dc7c4fdc40de46b7d7b4587dfe1af74.tar.gz
Clean up another FIXME.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ais_json.c b/ais_json.c
index be1ce19c..a4c7c360 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -19,11 +19,10 @@ representations to libgps structures.
#include "gps.h"
#include "json.h"
#ifdef SOCKET_EXPORT_ENABLE
+#include "libgps.h"
-/* FIXME: kluges because we don't want to include gpsd.h here */
+/* kluge because we don't want to include gpsd.h here */
extern int gpsd_hexpack(/*@in@*/const char *, /*@out@*/char *, size_t);
-int json_ais_read(const char *, char *, size_t, struct ais_t *,
- /*@null@*/const char **);
/*@ -mustdefine @*/
static void lenhex_unpack(const char *from,