summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-19 07:28:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-19 07:28:28 +0000
commit7ef6c5e9373d1db5645bd9d69b101b9202e3fd8c (patch)
tree329fdfccac67173f6cab15cc00d5e13269026367 /json.h
parenta77182a1299a50c1755fbe6d37656f009cd4ba68 (diff)
downloadgpsd-7ef6c5e9373d1db5645bd9d69b101b9202e3fd8c.tar.gz
Hide an argument that doesn't need to be exposed.
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 d4148cf2..24e82f4e 100644
--- a/json.h
+++ b/json.h
@@ -55,7 +55,7 @@ struct json_attr_t {
#define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */
#define JSON_VAL_MAX 63 /* max chars in JSON value part */
-int json_read_object(const char *, const struct json_attr_t *, int, const char **end);
+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 **);
const char *json_error_string(int);