aboutsummaryrefslogtreecommitdiff
path: root/rgb2hsv.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-03-13 16:34:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-03-13 16:34:03 +0000
commitfa53163757d3ca8128854ee0eaafa3edbcdfef49 (patch)
tree85dc49b72d277aea43b870ec1e9a440a5f46c392 /rgb2hsv.c
parentca2bce5efde0b5b296806df0c426f88d874eb530 (diff)
allow to build as single library
svn path=/trunk/externals/markex/; revision=4699
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);