diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
commit | dad8b2b68113840c826e43e3857c487498271c85 (patch) | |
tree | 6d4ee128c976f402e842b7799d2151ebd19bceb1 /json.h | |
parent | dbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff) | |
download | gpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz |
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -60,8 +60,10 @@ struct json_attr_t { #define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */ #define JSON_VAL_MAX 120 /* max chars in JSON value part */ -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 *, /*@null@*/const char **); +int json_read_object(const char *, const struct json_attr_t *, + /*@out null@*/const char **); +int json_read_array(const char *, const struct json_array_t *, + /*@out null@*/const char **); const /*@observer@*/char *json_error_string(int); #define JSON_ERR_OBSTART 1 /* non-WS when expecting object start */ |