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 /json.h | |
parent | 76b2aaba9575d60230387555822b18ceeb07353a (diff) | |
download | gpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz |
Nuke trailing whitespace in C source.
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -18,7 +18,7 @@ struct json_enum_t { int value; }; -struct json_array_t { +struct json_array_t { json_type element_type; union { struct { @@ -58,7 +58,7 @@ struct json_attr_t { } dflt; size_t len; const struct json_enum_t *map; - bool nodefault; + bool nodefault; }; #define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */ @@ -67,9 +67,9 @@ struct json_attr_t { #ifdef __cplusplus extern "C" { #endif -int json_read_object(const char *, const struct json_attr_t *, +int json_read_object(const char *, const struct json_attr_t *, /*@null@*/const char **); -int json_read_array(const char *, const struct json_array_t *, +int json_read_array(const char *, const struct json_array_t *, /*@null@*/const char **); const /*@observer@*/char *json_error_string(int); @@ -103,14 +103,14 @@ void json_enable_debug(int, FILE *); #define JSON_ERR_NULLPTR 22 /* unexpected null value or attribute pointer */ /* - * Use the following macros to declare template initializers for structobject + * Use the following macros to declare template initializers for structobject * arrays. Writing the equivalents out by hand is error-prone. * - * STRUCTOBJECT takes a structure name s, and a fieldname f in s. + * STRUCTOBJECT takes a structure name s, and a fieldname f in s. * - * STRUCTARRAY takes the name of a structure array, a pointer to a an + * STRUCTARRAY takes the name of a structure array, a pointer to a an * initializer defining the subobject type, and the address of an integer to - * store the length in. + * store the length in. */ #define STRUCTOBJECT(s, f) .addr.offset = offsetof(s, f) #define STRUCTARRAY(a, e, n) \ |