summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-19 00:00:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-19 00:00:17 +0000
commit276ffa0a53aae3fe555bdcbf98c4007120a2f0e3 (patch)
tree946d16a515f845adac66db11c17faf1feee93fe0 /json.h
parent725d92318b10e1d29e57977125974f59d5612f7f (diff)
downloadgpsd-276ffa0a53aae3fe555bdcbf98c4007120a2f0e3.tar.gz
Checkpoint before giving the JSON parses a notion of enumerated types.
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 8910e3b1..9aa983aa 100644
--- a/json.h
+++ b/json.h
@@ -43,8 +43,8 @@ struct json_attr_t {
} dflt;
};
-#define JSON_ATTR_MAX 31 /* max charss in JSON attribute name */
-#define JSON_VAL_MAX 63 /* max charss in JSON value part */
+#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_array(const char *, const struct json_array_t *, const char **);