summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
commitdad8b2b68113840c826e43e3857c487498271c85 (patch)
tree6d4ee128c976f402e842b7799d2151ebd19bceb1 /json.h
parentdbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff)
downloadgpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r--json.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/json.h b/json.h
index 69d48d94..28e33afc 100644
--- a/json.h
+++ b/json.h
@@ -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 */