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/sfplay.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sfplay.c') diff --git a/src/sfplay.c b/src/sfplay.c index ff8848d..560976f 100644 --- a/src/sfplay.c +++ b/src/sfplay.c @@ -135,7 +135,7 @@ static int sfplay_am_i_big_endian(void) } -void helper(t_sfplay *x) +static void sfplay_helper(t_sfplay *x) { post("\nsfplay :: a soundfile-player (c) winfried ritsch 1999"); post("\ncreation :: sfplay : channels set the number of channels, bytes skip fileheader"); @@ -157,7 +157,7 @@ void helper(t_sfplay *x) Use of the buffered functions fopen, fseek fread fclose instead the non buffered ones open read close */ -void sfplay_open(t_sfplay *x,t_symbol *filename,t_symbol *endian) +static void sfplay_open(t_sfplay *x,t_symbol *filename,t_symbol *endian) { if(x->state != SFPLAY_WAIT) @@ -302,7 +302,7 @@ static void sfplay_rewind(t_sfplay *x) /* restart with bang */ -void sfplay_bang(t_sfplay* x) +static void sfplay_bang(t_sfplay* x) { x->skip = 1; sfplay_start(x); @@ -648,7 +648,7 @@ void sfplay_setup(void) class_addmethod(sfplay_class, nullfn, gensym("signal"), 0); class_addmethod(sfplay_class, (t_method)sfplay_dsp, gensym("dsp"), 0); - class_addmethod(sfplay_class, (t_method)helper, gensym("help"), A_NULL); + class_addmethod(sfplay_class, (t_method)sfplay_helper, gensym("help"), A_NULL); class_sethelpsymbol(sfplay_class, gensym("zexy/sf-play_record")); /* method open with filename */ -- cgit v1.2.1