mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 21:39:06 +08:00
* Make json_object_from_file take const char *filename
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
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user