summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/palettes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/palettes.c b/src/palettes.c
index a3b968d..3ac682e 100644
--- a/src/palettes.c
+++ b/src/palettes.c
@@ -25,8 +25,8 @@
#define M_PI 3.14159265358979323846
#endif
-static inline Uint8 cycle_palettes_cosine_channel(Uint8, Uint8, double);
-static inline Uint8 cycle_palettes_linear_channel(Uint8, Uint8, double);
+static Uint8 cycle_palettes_cosine_channel(Uint8, Uint8, double);
+static Uint8 cycle_palettes_linear_channel(Uint8, Uint8, double);
SDL_Palette *
cycle_palettes_cosine(Uint32 t, Uint32 t_max,
@@ -98,7 +98,7 @@ cycle_palettes_linear(Uint32 t, Uint32 t_max,
return pal_step;
}
-static inline Uint8
+static Uint8
cycle_palettes_cosine_channel(Uint8 y_start, Uint8 y_end, double x)
{
double m;
@@ -112,7 +112,7 @@ cycle_palettes_cosine_channel(Uint8 y_start, Uint8 y_end, double x)
return y;
}
-static inline Uint8
+static Uint8
cycle_palettes_linear_channel(Uint8 y_start, Uint8 y_end, double x)
{
double m;