From 86b8d618e047c49b5b26ace03cf6487647b8ed1c Mon Sep 17 00:00:00 2001 From: Xerbo Date: Sun, 24 Jan 2021 18:09:36 +0000 Subject: [PATCH] Fix for compilation with gcc10 --- src/color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/color.h b/src/color.h index 499676e..d6a4307 100644 --- a/src/color.h +++ b/src/color.h @@ -5,5 +5,5 @@ rgb_t applyPalette(char *palette, int val); rgb_t RGBcomposite(rgb_t top, float top_a, rgb_t bottom, float bottom_a); -char TempPalette[256*3]; -char PrecipPalette[58*3]; +extern char TempPalette[256*3]; +extern char PrecipPalette[58*3];