summaryrefslogtreecommitdiff
path: root/jsmn.h
diff options
context:
space:
mode:
Diffstat (limited to 'jsmn.h')
-rw-r--r--jsmn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsmn.h b/jsmn.h
index cb27ca112..3178dcc97 100644
--- a/jsmn.h
+++ b/jsmn.h
@@ -66,7 +66,7 @@ enum jsmnerr {
* start start position in JSON data string
* end end position in JSON data string
*/
-typedef struct {
+typedef struct jsmntok {
jsmntype_t type;
int start;
int end;
@@ -80,7 +80,7 @@ typedef struct {
* JSON parser. Contains an array of token blocks available. Also stores
* the string being parsed now and current position in that string.
*/
-typedef struct {
+typedef struct jsmn_parser {
unsigned int pos; /* offset in the JSON string */
unsigned int toknext; /* next token to allocate */
int toksuper; /* superior token node, e.g. parent object or array */