From 29d834e8b77df9a7d6a16f75607e0cd53663d445 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Tue, 12 Jul 2016 23:10:47 +0200 Subject: [PATCH] Deleted two `extern` in gvrender_gd.c These two `extern` defintions were causing linker errors. --- plugin/gd/gvrender_gd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index 0f4a0571d..1beda0ce0 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -295,14 +295,14 @@ static void gdgen_missingfont(char *err, char *fontreq) } } -extern gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant; +gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant; /* fontsize at which text is omitted entirely */ #define FONTSIZE_MUCH_TOO_SMALL 0.15 /* fontsize at which text is rendered by a simple line */ #define FONTSIZE_TOO_SMALL 1.5 -extern gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant; +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) { -- 2.40.0