aboutsummaryrefslogtreecommitdiff
path: root/rgb2hsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rgb2hsv.c')
-rw-r--r--rgb2hsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rgb2hsv.c b/rgb2hsv.c
index 9bc4f78..e52fa6a 100644
--- a/rgb2hsv.c
+++ b/rgb2hsv.c
@@ -13,7 +13,7 @@
#include "m_pd.h"
#include <math.h>
-inline float FLOAT_CLAMP(float x) { return((x > 1.f) ? 1.f : ( (x < 0.f) ? 0.f : x)); }
+static inline float FLOAT_CLAMP(float x) { return((x > 1.f) ? 1.f : ( (x < 0.f) ? 0.f : x)); }
static inline float TRI_MAX(float v1, float v2, float v3)
{ if (v1 > v2 && v1 > v3) return(v1);