aboutsummaryrefslogtreecommitdiff
path: root/src/sfplay.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/sfplay.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/sfplay.c')
-rw-r--r--src/sfplay.c8
1 files changed, 4 insertions, 4 deletions
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> <bytes> : 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 */