From 0be9cb9aac9019c0ba8f2709e27b3534f5fcaa51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 24 Jan 2006 21:17:23 +0000 Subject: 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 --- src/sfrecord.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sfrecord.c') 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 \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"); } -- cgit v1.2.1