summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-07-12 07:27:18 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-07-12 07:27:18 +0000
commit552b30ba38fa3d4141b15d7624afe7c57f072cc7 (patch)
tree37968c46ff0dab91286e067a1c495d7a87c33950 /json.h
parent0f148d6c498f68e34600e0925a875f7925d16e15 (diff)
downloadgpsd-552b30ba38fa3d4141b15d7624afe7c57f072cc7.tar.gz
Fix a compiler warning and change a prototype...
...so a caller of the object parse can contibue processing the input string after it returns. Unit test passes.
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.h b/json.h
index 52206f92..12690b61 100644
--- a/json.h
+++ b/json.h
@@ -24,6 +24,6 @@ struct json_attr_t {
#define JSON_ATTR_MAX 31 /* max charss in JSON attribute name */
#define JSON_VAL_MAX 63 /* max charss in JSON value part */
-int json_read_object(const char *, const struct json_attr_t *);
+int json_read_object(const char *, const struct json_attr_t *, const char **end);
/* json.h ends here */