From da31efb4e0708675cd4eda19eadfcd48ef691aa3 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Sun, 1 Dec 2024 15:08:09 +0100 Subject: rest: statify image restore and create function only used in rest.c, remove the forward declaration in json.h --- src/rest.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/rest.c') diff --git a/src/rest.c b/src/rest.c index cf50f64..68b24a0 100644 --- a/src/rest.c +++ b/src/rest.c @@ -3680,8 +3680,7 @@ static int og_cmd_images(char *buffer_reply) return 0; } -int og_json_parse_create_image(json_t *element, - struct og_msg_params *params) +static int og_json_parse_create_image(json_t *element, struct og_msg_params *params) { const char *key; json_t *value; @@ -3826,7 +3825,7 @@ static int og_cmd_update_image(json_t *element, struct og_msg_params *params) return og_cmd_add_image(element, params, true); } -int og_json_parse_restore_image(json_t *element, struct og_msg_params *params) +static int og_json_parse_restore_image(json_t *element, struct og_msg_params *params) { const char *key; json_t *value; -- cgit v1.2.3-18-g5258