aboutsummaryrefslogtreecommitdiff
path: root/src/sfrecord.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 21:17:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 21:17:23 +0000
commit0be9cb9aac9019c0ba8f2709e27b3534f5fcaa51 (patch)
treeba2c4c5c5886271dc309a4bc38855637546e280d /src/sfrecord.c
parentdf9fa297c6f3d9782b82d85a0e4d4bc587df3538 (diff)
made all possible (well, most) functions "static" to not interfere with functions of the same name of other libraries
svn path=/trunk/externals/zexy/; revision=4482
Diffstat (limited to 'src/sfrecord.c')
-rw-r--r--src/sfrecord.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sfrecord.c b/src/sfrecord.c
index 2420f4b..16c3c31 100644
--- a/src/sfrecord.c
+++ b/src/sfrecord.c
@@ -119,7 +119,7 @@ static void state_out(t_sfrecord *x, int state)
Use of the buffered functions fopen, fseek fread fclose instead the
non buffered ones open read close */
-void sfrecord_open(t_sfrecord *x,t_symbol *filename,t_symbol *endian)
+static void sfrecord_open(t_sfrecord *x,t_symbol *filename,t_symbol *endian)
{
if(x->state != SFRECORD_WAIT)
@@ -219,7 +219,7 @@ static void sfrecord_float(t_sfrecord *x, t_floatarg f)
}
/* say what state we´re in */
-void sfrecord_bang(t_sfrecord* x)
+static void sfrecord_bang(t_sfrecord* x)
{
if (x->state == SFRECORD_WRITE) state_out(x, 1); else state_out(x, 0);
}
@@ -557,7 +557,7 @@ static void *sfrecord_new(t_floatarg chan)
}
-static void helper(void)
+static void sfrecord_helper(void)
{
post("\nsfplay :: a raw-data soundfile-recorder");
post("\ncreation :: sfrecord <channels>\t: channels set the number of channels");
@@ -597,7 +597,7 @@ void sfrecord_setup(void)
class_addbang(sfrecord_class,sfrecord_bang);
/* some help */
- class_addmethod(sfrecord_class, (t_method)helper, gensym("help"), A_NULL);
+ class_addmethod(sfrecord_class, (t_method)sfrecord_helper, gensym("help"), A_NULL);
class_sethelpsymbol(sfrecord_class, gensym("zexy/sf-play_record"));
zexy_register("sfrecord");
}