aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-03-23 21:08:42 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-03-23 21:08:42 +0000
commitf6971e380f4a69324d25eab22e08a6d9f0dd727e (patch)
treee6cdc0be44313696ef6cbad3301956cce454435c
parentc5a15468f04a020e9b517eb22d63cc85776be00c (diff)
Made all functions except rc_tilde_setup() static.
svn path=/trunk/externals/mrpeach/; revision=13247
-rw-r--r--rc~/rc~.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/rc~/rc~.c b/rc~/rc~.c
index 87525b8..5cc750a 100644
--- a/rc~/rc~.c
+++ b/rc~/rc~.c
@@ -14,7 +14,11 @@ typedef struct _rc_tilde
t_sample rc_node;
} t_rc_tilde;
-t_int *rc_tilde_perform(t_int *w)
+static t_int *rc_tilde_perform(t_int *w);
+static void rc_tilde_dsp(t_rc_tilde *x, t_signal **sp);
+static void *rc_tilde_new(t_floatarg f);
+
+static t_int *rc_tilde_perform(t_int *w)
{
t_rc_tilde *x = (t_rc_tilde *)(w[1]);
t_sample *in = (t_sample *)(w[2]);
@@ -35,12 +39,12 @@ t_int *rc_tilde_perform(t_int *w)
return (w+5);
}
-void rc_tilde_dsp(t_rc_tilde *x, t_signal **sp)
+static void rc_tilde_dsp(t_rc_tilde *x, t_signal **sp)
{
dsp_add(rc_tilde_perform, 4, x, sp[0]->s_vec, sp[1]->s_vec, sp[0]->s_n);
}
-void *rc_tilde_new(t_floatarg f)
+static void *rc_tilde_new(t_floatarg f)
{
t_rc_tilde *x = (t_rc_tilde *)pd_new(rc_tilde_class);