Add const qualifier to the json_tokener_parse functions
Eric Haszlakiewicz, EHASZLA at transunion dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@42 327403b1-1117-474d-bef2-5cb71233fd97
diff --git a/json_tokener.h b/json_tokener.h
index 59035bb..7d40b40 100644
--- a/json_tokener.h
+++ b/json_tokener.h
@@ -87,9 +87,9 @@
extern struct json_tokener* json_tokener_new(void);
extern void json_tokener_free(struct json_tokener *tok);
extern void json_tokener_reset(struct json_tokener *tok);
-extern struct json_object* json_tokener_parse(char *str);
+extern struct json_object* json_tokener_parse(const char *str);
extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
- char *str, int len);
+ const char *str, int len);
#ifdef __cplusplus
}