diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
commit | 620f7445dcacfbb740c55a9e4b891593c3f94910 (patch) | |
tree | e092711dae9ac1af540a2e5469493f13303248c1 /shared_json.c | |
parent | 76b2aaba9575d60230387555822b18ceeb07353a (diff) | |
download | gpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz |
Nuke trailing whitespace in C source.
Diffstat (limited to 'shared_json.c')
-rw-r--r-- | shared_json.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared_json.c b/shared_json.c index 766a7492..e3f116c3 100644 --- a/shared_json.c +++ b/shared_json.c @@ -3,7 +3,7 @@ NAME shared_json.c - move data between in-core and JSON structures -DESCRIPTION +DESCRIPTION This module uses the generic JSON parser to get data from JSON representations to gps.h structures. These functions are used in both the daemon and the client library. @@ -31,7 +31,7 @@ int json_device_read(const char *buf, /* *INDENT-OFF* */ const struct json_attr_t json_attrs_device[] = { {"class", t_check, .dflt.check = "DEVICE"}, - + {"path", t_string, .addr.string = dev->path, .len = sizeof(dev->path)}, {"activated", t_string, .addr.string = tbuf, @@ -85,7 +85,7 @@ int json_watch_read(const char *buf, /* *INDENT-OFF* */ struct json_attr_t chanconfig_attrs[] = { {"class", t_check, .dflt.check = "WATCH"}, - + {"enable", t_boolean, .addr.boolean = &ccp->watcher, .dflt.boolean = true}, {"json", t_boolean, .addr.boolean = &ccp->json, |