From 997ca129a2d3c5ec1251c6a08b8ee25ea4b94d8b Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sun, 30 Apr 2017 16:36:02 +0200 Subject: [PATCH] cJSONUtils_ApplyPatch -> apply_patch --- cJSON_Utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cJSON_Utils.c b/cJSON_Utils.c index 0e40dfb..9f526bf 100644 --- a/cJSON_Utils.c +++ b/cJSON_Utils.c @@ -603,7 +603,7 @@ static void overwrite_item(cJSON * const root, const cJSON replacement) memcpy(root, &replacement, sizeof(cJSON)); } -static int cJSONUtils_ApplyPatch(cJSON *object, const cJSON *patch) +static int apply_patch(cJSON *object, const cJSON *patch) { cJSON *path = NULL; cJSON *value = NULL; @@ -837,7 +837,7 @@ CJSON_PUBLIC(int) cJSONUtils_ApplyPatches(cJSON * const object, const cJSON * co while (current_patch != NULL) { - status = cJSONUtils_ApplyPatch(object, current_patch); + status = apply_patch(object, current_patch); if (status != 0) { return status;