From 207423bf3f8652caf7a06898d12535d075cb3dc9 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 1 Oct 2021 20:13:41 -0700 Subject: [PATCH] plugin core: swap duplicated prototypes for missing includes This file is calling functions `xml_string` `xml_url_string` without including the header that prototypes them, utils.h. There seems to be no reason to avoid this and locally re-prototype these functions. Related to #1868. --- plugin/core/gvrender_core_map.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin/core/gvrender_core_map.c b/plugin/core/gvrender_core_map.c index ba9079e1d..8d9fe6101 100644 --- a/plugin/core/gvrender_core_map.c +++ b/plugin/core/gvrender_core_map.c @@ -12,13 +12,12 @@ #include +#include +#include #include #include #include -extern char *xml_string(char *str); -extern char *xml_url_string(char *str); - typedef enum { FORMAT_IMAP, FORMAT_ISMAP, FORMAT_CMAP, FORMAT_CMAPX, } format_type; static void map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf * AF, int nump, -- 2.40.0