From b05cee4d0dfbb2a9b4c56ff2a4dfd6215d44621e Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 6 Nov 2018 16:29:37 +0100 Subject: [PATCH] palette.c: declare relevant variables as static --- src/palette.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/palette.c b/src/palette.c index 02013a8c..2e3beefb 100644 --- a/src/palette.c +++ b/src/palette.c @@ -40,8 +40,8 @@ #include "palette.h" #include "shade.h" -byte Palette_view_is_RGB = 1; // Indique si on est en HSL ou en RGB -float Gamma = 1.0; +static byte Palette_view_is_RGB = 1; // Indique si on est en HSL ou en RGB +static float Gamma = 1.0; // Coordinates of the color count (on histogram button) static const int COUNT_X = 138;