summaryrefslogtreecommitdiff
path: root/shared_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 /shared_json.c
parent260671b560cac5421786c347c8dbecb2201a4dc9 (diff)
downloadgpsd-cada2ed060169711e83672440d58552b4d71505f.tar.gz
Reindent the JSON stuff. All regression tests pass.
Diffstat (limited to 'shared_json.c')
-rw-r--r--shared_json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared_json.c b/shared_json.c
index 79ab00b0..704a4440 100644
--- a/shared_json.c
+++ b/shared_json.c
@@ -29,6 +29,7 @@ int json_device_read(const char *buf,
/*@null@*/const char **endptr)
{
/*@ -fullinitblock @*/
+ /* *INDENT-OFF* */
const struct json_attr_t json_attrs_device[] = {
{"class", t_check, .dflt.check = "DEVICE"},
@@ -54,6 +55,7 @@ int json_device_read(const char *buf,
.dflt.real = NAN},
{NULL},
};
+ /* *INDENT-ON* */
/*@ +fullinitblock @*/
int status;
@@ -69,6 +71,7 @@ int json_watch_read(const char *buf,
/*@null@*/const char **endptr)
{
/*@ -fullinitblock @*/
+ /* *INDENT-OFF* */
struct json_attr_t chanconfig_attrs[] = {
{"class", t_check, .dflt.check = "WATCH"},
@@ -86,6 +89,7 @@ int json_watch_read(const char *buf,
.len = sizeof(ccp->devpath)},
{NULL},
};
+ /* *INDENT-ON* */
/*@ +fullinitblock @*/
int status;