summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-09 23:01:13 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-09 23:01:13 +0000
commitef5669b4f86d2e9c4f9f0bc12576040cbf511cea (patch)
tree56a4130d6809450e089e774dd79f8fcf0c321551 /json.h
parent48db3e2e6a7fb12f6133725600ed5dc7ae36fdc8 (diff)
downloadgpsd-ef5669b4f86d2e9c4f9f0bc12576040cbf511cea.tar.gz
Yet more splint cleanup. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r--json.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/json.h b/json.h
index 8ba5c1a2..69d48d94 100644
--- a/json.h
+++ b/json.h
@@ -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 */