summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-09-22 10:00:02 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-09-22 10:01:01 -0400
commitecbf0b51cdd43b8dad219e29dd5aaa1e71de4e43 (patch)
tree529a9cf0d525f14e657cf0929a7da43ddad696a9 /json.c
parentb6bfc6707e1bf47acc9cd1f55ef222ad34a34c42 (diff)
downloadgpsd-ecbf0b51cdd43b8dad219e29dd5aaa1e71de4e43.tar.gz
Condition out extended JSON features.
All regression tests pass.
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json.c b/json.c
index f452c650..38ab3e06 100644
--- a/json.c
+++ b/json.c
@@ -71,6 +71,8 @@ PERMISSIONS
#include "gps.h" /* for safe_atof() & timestamp_t prototype */
+#define JSON_MINIMAL /* GPSD only uses a subset of the features */
+
#ifdef CLIENTDEBUG_ENABLE
static int debuglevel = 0;
static FILE *debugfp;