summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json.c')
-rw-r--r--lib/json.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/json.c b/lib/json.c
index 5b7c3e9ffa..d8c97e4486 100644
--- a/lib/json.c
+++ b/lib/json.c
@@ -48,13 +48,7 @@ json_object_string_add(struct json_object* obj, const char *key,
}
void
-json_object_int_add(struct json_object* obj, const char *key, int32_t i)
-{
- json_object_object_add(obj, key, json_object_new_int(i));
-}
-
-void
-json_object_long_add(struct json_object* obj, const char *key, int64_t i)
+json_object_int_add(struct json_object* obj, const char *key, int64_t i)
{
#if defined(HAVE_JSON_C_JSON_H)
json_object_object_add(obj, key, json_object_new_int64(i));