aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-25 15:09:42 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-25 15:09:42 +0000
commitfc9fb13209893eb4e22dc7f65d7983da378da7c8 (patch)
tree23c1775efd1940908af598923ed6f91aec8944a7
parent91156cb20be72c7bc1e899613c0792281c9cda87 (diff)
made perform-routines "static"
svn path=/trunk/externals/zexy/; revision=4489
-rw-r--r--src/0x260x260x7e.c17
-rw-r--r--src/0x3c0x7e.c17
-rw-r--r--src/0x3d0x3d0x7e.c17
-rw-r--r--src/0x3e0x7e.c17
-rw-r--r--src/0x7c0x7c0x7e.c17
5 files changed, 30 insertions, 55 deletions
diff --git a/src/0x260x260x7e.c b/src/0x260x260x7e.c
index 471c20b..86ca409 100644
--- a/src/0x260x260x7e.c
+++ b/src/0x260x260x7e.c
@@ -62,7 +62,7 @@ static void *andand_tilde_new(t_symbol *s, int argc, t_atom *argv)
}
}
-t_int *andand_tilde_perform(t_int *w)
+static t_int *andand_tilde_perform(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -76,7 +76,7 @@ t_int *andand_tilde_perform(t_int *w)
return (w+5);
}
-t_int *andand_tilde_perf8(t_int *w)
+static t_int *andand_tilde_perf8(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -96,7 +96,7 @@ t_int *andand_tilde_perf8(t_int *w)
return (w+5);
}
-t_int *scalarandand_tilde_perform(t_int *w)
+static t_int *scalarandand_tilde_perform(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float f = *(t_float *)(w[2]);
@@ -106,7 +106,7 @@ t_int *scalarandand_tilde_perform(t_int *w)
return (w+5);
}
-t_int *scalarandand_tilde_perf8(t_int *w)
+static t_int *scalarandand_tilde_perf8(t_int *w)
{
t_float *in = (t_float *)(w[1]);
int g = *(t_float *)(w[2]);
@@ -126,7 +126,7 @@ t_int *scalarandand_tilde_perf8(t_int *w)
#ifdef __SSE__
static long l_bitmask[]={0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff};
-t_int *andand_tilde_performSSE(t_int *w)
+static t_int *andand_tilde_performSSE(t_int *w)
{
__m128 *in1 = (__m128 *)(w[1]);
__m128 *in2 = (__m128 *)(w[2]);
@@ -173,7 +173,7 @@ t_int *andand_tilde_performSSE(t_int *w)
return (w+5);
}
-t_int *scalarandand_tilde_performSSE(t_int *w)
+static t_int *scalarandand_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
@@ -283,11 +283,6 @@ static void andand_tilde_setup(void)
/* ---------------------- global setup ------------------------- */
-void z_andand__setup(void)
-{
- andand_tilde_setup();
-}
-
void z_0x260x260x7e_setup(void)
{
andand_tilde_setup();
diff --git a/src/0x3c0x7e.c b/src/0x3c0x7e.c
index 80639db..bd0373e 100644
--- a/src/0x3c0x7e.c
+++ b/src/0x3c0x7e.c
@@ -63,7 +63,7 @@ static void *lt_tilde_new(t_symbol *s, int argc, t_atom *argv)
}
}
-t_int *lt_tilde_perform(t_int *w)
+static t_int *lt_tilde_perform(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -73,7 +73,7 @@ t_int *lt_tilde_perform(t_int *w)
return (w+5);
}
-t_int *lt_tilde_perf8(t_int *w)
+static t_int *lt_tilde_perf8(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -93,7 +93,7 @@ t_int *lt_tilde_perf8(t_int *w)
return (w+5);
}
-t_int *scalarlt_tilde_perform(t_int *w)
+static t_int *scalarlt_tilde_perform(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float f = *(t_float *)(w[2]);
@@ -103,7 +103,7 @@ t_int *scalarlt_tilde_perform(t_int *w)
return (w+5);
}
-t_int *scalarlt_tilde_perf8(t_int *w)
+static t_int *scalarlt_tilde_perf8(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float g = *(t_float *)(w[2]);
@@ -120,7 +120,7 @@ t_int *scalarlt_tilde_perf8(t_int *w)
return (w+5);
}
#ifdef __SSE__
-t_int *lt_tilde_performSSE(t_int *w)
+static t_int *lt_tilde_performSSE(t_int *w)
{
__m128 *in1 = (__m128 *)(w[1]);
__m128 *in2 = (__m128 *)(w[2]);
@@ -149,7 +149,7 @@ t_int *lt_tilde_performSSE(t_int *w)
return (w+5);
}
-t_int *scalarlt_tilde_performSSE(t_int *w)
+static t_int *scalarlt_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
@@ -246,11 +246,6 @@ static void lt_tilde_setup(void)
/* ---------------------- global setup ------------------------- */
-void z_lt__setup(void)
-{
- lt_tilde_setup();
-}
-
void z_0x3c0x7e_setup(void)
{
lt_tilde_setup();
diff --git a/src/0x3d0x3d0x7e.c b/src/0x3d0x3d0x7e.c
index 8dd27b2..e52a573 100644
--- a/src/0x3d0x3d0x7e.c
+++ b/src/0x3d0x3d0x7e.c
@@ -60,7 +60,7 @@ static void *eq_tilde_new(t_symbol *s, int argc, t_atom *argv)
}
}
-t_int *eq_tilde_perform(t_int *w)
+static t_int *eq_tilde_perform(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -70,7 +70,7 @@ t_int *eq_tilde_perform(t_int *w)
return (w+5);
}
-t_int *eq_tilde_perf8(t_int *w)
+static t_int *eq_tilde_perf8(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -90,7 +90,7 @@ t_int *eq_tilde_perf8(t_int *w)
return (w+5);
}
-t_int *scalareq_tilde_perform(t_int *w)
+static t_int *scalareq_tilde_perform(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float f = *(t_float *)(w[2]);
@@ -100,7 +100,7 @@ t_int *scalareq_tilde_perform(t_int *w)
return (w+5);
}
-t_int *scalareq_tilde_perf8(t_int *w)
+static t_int *scalareq_tilde_perf8(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float g = *(t_float *)(w[2]);
@@ -118,7 +118,7 @@ t_int *scalareq_tilde_perf8(t_int *w)
}
#ifdef __SSE__
-t_int *eq_tilde_performSSE(t_int *w)
+static t_int *eq_tilde_performSSE(t_int *w)
{
__m128 *in1 = (__m128 *)(w[1]);
__m128 *in2 = (__m128 *)(w[2]);
@@ -147,7 +147,7 @@ t_int *eq_tilde_performSSE(t_int *w)
return (w+5);
}
-t_int *scalareq_tilde_performSSE(t_int *w)
+static t_int *scalareq_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
@@ -242,11 +242,6 @@ static void eq_tilde_setup(void)
/* ---------------------- global setup ------------------------- */
-void z_eq__setup(void)
-{
- eq_tilde_setup();
-}
-
void z_0x3d0x3d0x7e_setup(void)
{
eq_tilde_setup();
diff --git a/src/0x3e0x7e.c b/src/0x3e0x7e.c
index 081620a..6a20686 100644
--- a/src/0x3e0x7e.c
+++ b/src/0x3e0x7e.c
@@ -62,7 +62,7 @@ static void *gt_tilde_new(t_symbol *s, int argc, t_atom *argv)
}
}
-t_int *gt_tilde_perform(t_int *w)
+static t_int *gt_tilde_perform(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -72,7 +72,7 @@ t_int *gt_tilde_perform(t_int *w)
return (w+5);
}
-t_int *gt_tilde_perf8(t_int *w)
+static t_int *gt_tilde_perf8(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -92,7 +92,7 @@ t_int *gt_tilde_perf8(t_int *w)
return (w+5);
}
-t_int *scalargt_tilde_perform(t_int *w)
+static t_int *scalargt_tilde_perform(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float f = *(t_float *)(w[2]);
@@ -102,7 +102,7 @@ t_int *scalargt_tilde_perform(t_int *w)
return (w+5);
}
-t_int *scalargt_tilde_perf8(t_int *w)
+static t_int *scalargt_tilde_perf8(t_int *w)
{
t_float *in = (t_float *)(w[1]);
t_float g = *(t_float *)(w[2]);
@@ -119,7 +119,7 @@ t_int *scalargt_tilde_perf8(t_int *w)
return (w+5);
}
#ifdef __SSE__
-t_int *gt_tilde_performSSE(t_int *w)
+static t_int *gt_tilde_performSSE(t_int *w)
{
__m128 *in1 = (__m128 *)(w[1]);
__m128 *in2 = (__m128 *)(w[2]);
@@ -148,7 +148,7 @@ t_int *gt_tilde_performSSE(t_int *w)
return (w+5);
}
-t_int *scalargt_tilde_performSSE(t_int *w)
+static t_int *scalargt_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
@@ -243,11 +243,6 @@ static void gt_tilde_setup(void)
/* ---------------------- global setup ------------------------- */
-void z_gt__setup(void)
-{
- gt_tilde_setup();
-}
-
void z_0x3e0x7e_setup(void)
{
gt_tilde_setup();
diff --git a/src/0x7c0x7c0x7e.c b/src/0x7c0x7c0x7e.c
index 675f0ac..1ba92a1 100644
--- a/src/0x7c0x7c0x7e.c
+++ b/src/0x7c0x7c0x7e.c
@@ -60,7 +60,7 @@ static void *oror_tilde_new(t_symbol *s, int argc, t_atom *argv)
}
}
-t_int *oror_tilde_perform(t_int *w)
+static t_int *oror_tilde_perform(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -70,7 +70,7 @@ t_int *oror_tilde_perform(t_int *w)
return (w+5);
}
-t_int *oror_tilde_perf8(t_int *w)
+static t_int *oror_tilde_perf8(t_int *w)
{
t_float *in1 = (t_float *)(w[1]);
t_float *in2 = (t_float *)(w[2]);
@@ -90,7 +90,7 @@ t_int *oror_tilde_perf8(t_int *w)
return (w+5);
}
-t_int *scalaroror_tilde_perform(t_int *w)
+static t_int *scalaroror_tilde_perform(t_int *w)
{
t_float *in = (t_float *)(w[1]);
int f = *(t_float *)(w[2]);
@@ -100,7 +100,7 @@ t_int *scalaroror_tilde_perform(t_int *w)
return (w+5);
}
-t_int *scalaroror_tilde_perf8(t_int *w)
+static t_int *scalaroror_tilde_perf8(t_int *w)
{
t_float *in = (t_float *)(w[1]);
int g = *(t_float *)(w[2]);
@@ -118,7 +118,7 @@ t_int *scalaroror_tilde_perf8(t_int *w)
}
#ifdef __SSE__
-t_int *oror_tilde_performSSE(t_int *w)
+static t_int *oror_tilde_performSSE(t_int *w)
{
__m128 *in1 = (__m128 *)(w[1]);
__m128 *in2 = (__m128 *)(w[2]);
@@ -156,7 +156,7 @@ t_int *oror_tilde_performSSE(t_int *w)
return (w+5);
}
-t_int *scalaroror_tilde_performSSE(t_int *w)
+static t_int *scalaroror_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
@@ -259,11 +259,6 @@ static void oror_tilde_setup(void)
/* ---------------------- global setup ------------------------- */
-void z_oror__setup(void)
-{
- oror_tilde_setup();
-}
-
void z_0x7c0x7c0x7e_setup(void)
{
oror_tilde_setup();