diff options
Diffstat (limited to 'src/colorramp.c')
-rw-r--r-- | src/colorramp.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/colorramp.c b/src/colorramp.c index a9db111..41233d5 100644 --- a/src/colorramp.c +++ b/src/colorramp.c @@ -18,10 +18,6 @@ Copyright (c) 2013 Ingo Thies <ithies@astro.uni-bonn.de> [historical, no longer applies] Copyright (c) 2016, 2025 Mattias Andrée <m@maandree.se> */ - -#include <math.h> -#include <libred.h> - #include "common.h" /* Helper macro used in the fill functions */ @@ -31,8 +27,8 @@ #define X(SUFFIX, TYPE, MAX, TRUE_MAX, DEPTH)\ void\ colorramp_fill_##SUFFIX(TYPE *gamma_r, TYPE *gamma_g, TYPE *gamma_b,\ - size_t size_r, size_t size_g, size_t size_b,\ - const color_setting_t *setting)\ + size_t size_r, size_t size_g, size_t size_b,\ + const struct color_setting *setting)\ {\ double r = 1, g = 1, b = 1;\ size_t i;\ @@ -44,5 +40,3 @@ LIST_RAMPS_STOP_VALUE_TYPES #undef X - -#undef F |