diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-07-12 07:27:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-07-12 07:27:18 +0000 |
commit | 552b30ba38fa3d4141b15d7624afe7c57f072cc7 (patch) | |
tree | 37968c46ff0dab91286e067a1c495d7a87c33950 /json.h | |
parent | 0f148d6c498f68e34600e0925a875f7925d16e15 (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |