diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 23:01:13 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 23:01:13 +0000 |
commit | ef5669b4f86d2e9c4f9f0bc12576040cbf511cea (patch) | |
tree | 56a4130d6809450e089e774dd79f8fcf0c321551 /json.h | |
parent | 48db3e2e6a7fb12f6133725600ed5dc7ae36fdc8 (diff) | |
download | gpsd-ef5669b4f86d2e9c4f9f0bc12576040cbf511cea.tar.gz |
Yet more splint cleanup. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -60,8 +60,8 @@ 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 *, const char **); -int json_read_array(const char *, const struct json_array_t *, const char **); +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 **); const /*@observer@*/char *json_error_string(int); #define JSON_ERR_OBSTART 1 /* non-WS when expecting object start */ |