]> granicus.if.org Git - graphviz/commitdiff
plugin/gd: [nfc] align storage-class declarations to Graphviz standard in gvrender_gd.c
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 15:39:28 +0000 (16:39 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 18:33:11 +0000 (19:33 +0100)
plugin/gd/gvrender_gd.c

index 695245262fb12cc4a97c99d1a6ed2ea0e186be30..d8a49fe1a706238f1dfdeaa214eaa0b303d925e0 100644 (file)
@@ -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)
 {