aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.h b/src/json.h
index 77bfde4..6ac30cb 100644
--- a/src/json.h
+++ b/src/json.h
@@ -19,7 +19,7 @@
log_err("JSON: %s failed\n", fn); \
} while (0)
-char *json_to_string(struct json_object *);
+const char *json_to_string(struct json_object *);
struct json_object *json_from_string(const char *);
int json_clone(const struct json_object *, const char *key, struct json_object **value);