summaryrefslogtreecommitdiff
path: root/rtcm2_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-14 02:59:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-14 02:59:56 -0400
commitcada2ed060169711e83672440d58552b4d71505f (patch)
treee7fe4820fdad9574dc2b0d17bd25e71cc7e6231e /rtcm2_json.c
parent260671b560cac5421786c347c8dbecb2201a4dc9 (diff)
downloadgpsd-cada2ed060169711e83672440d58552b4d71505f.tar.gz
Reindent the JSON stuff. All regression tests pass.
Diffstat (limited to 'rtcm2_json.c')
-rw-r--r--rtcm2_json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtcm2_json.c b/rtcm2_json.c
index 6d73f7dc..697c2bc1 100644
--- a/rtcm2_json.c
+++ b/rtcm2_json.c
@@ -34,6 +34,7 @@ int json_rtcm2_read(const char *buf,
static char stringstore[sizeof(rtcm2->words)*2];
static int stringcount;
+/* *INDENT-OFF* */
#define RTCM2_HEADER \
{"class", t_check, .dflt.check = "RTCM2"}, \
{"type", t_uinteger, .addr.uinteger = &rtcm2->type}, \
@@ -170,6 +171,7 @@ int json_rtcm2_read(const char *buf,
/*@ +fullinitblock @*/
#undef RTCM2_HEADER
+/* *INDENT-ON* */
memset(rtcm2, '\0', sizeof(struct rtcm2_t));