From: Magnus Jacobsson Date: Mon, 10 Jan 2022 15:39:28 +0000 (+0100) Subject: plugin/gd: [nfc] align storage-class declarations to Graphviz standard in gvrender_gd.c X-Git-Tag: 3.0.0~77^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b82a316891c2d46ed619920376bcc3f3d04f4fd;p=graphviz plugin/gd: [nfc] align storage-class declarations to Graphviz standard in gvrender_gd.c --- diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index 695245262..d8a49fe1a 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -261,11 +261,11 @@ static void gdgen_missingfont(char *err, char *fontreq) #define FONTSIZE_TOO_SMALL 1.5 #ifdef GVDLL -#define GD_IMPORT __declspec(dllimport) extern +#define GD_IMPORT __declspec(dllimport) #else -#define GD_IMPORT extern +#define GD_IMPORT #endif -GD_IMPORT gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant; +GD_IMPORT extern gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant; void gdgen_text(gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str) {