Spotted by Vikram Raj V, vsagar at attinteractive dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@55
327403b1-1117-474d-bef2-
5cb71233fd97
#include "json_tokener.h"
#include "json_util.h"
-struct json_object* json_object_from_file(char *filename)
+struct json_object* json_object_from_file(const char *filename)
{
struct printbuf *pb;
struct json_object *obj;
#define JSON_FILE_BUF_SIZE 4096
/* utility functions */
-extern struct json_object* json_object_from_file(char *filename);
+extern struct json_object* json_object_from_file(const char *filename);
extern int json_object_to_file(char *filename, struct json_object *obj);
#ifdef __cplusplus