From e6d36d808bebfabbb4c11bf46f0c80acb5e35a6a Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Sun, 25 Oct 2009 14:07:04 +0000 Subject: Removed unused arguments in tof.h svn path=/trunk/externals/tof/; revision=12672 --- src/param.c | 8 ++++---- src/paramCustom.h | 2 +- src/tof.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/param.c b/src/param.c index 88fbb91..104cb4a 100644 --- a/src/param.c +++ b/src/param.c @@ -197,19 +197,19 @@ static void* paramClass_new(t_symbol *s, int ac, t_atom *av) tof_copy_atoms(av_temp,x->gav,x->gac); // FIND THE NO LOADBANG TAG: /nlb - x->noloadbang = tof_find_tag('/',gensym("/nlb"), ac-1, av+1); + x->noloadbang = tof_find_symbol(gensym("/nlb"), ac-1, av+1); //post("nlb: %i",x->noloadbang); // FIND THE WAIT FOR BANG TAG: /wfb - x->nowaitforbang = !(tof_find_tag('/',gensym("/wfb"), ac-1, av+1)); + x->nowaitforbang = !(tof_find_symbol(gensym("/wfb"), ac-1, av+1)); // FIND THE NO SAVE TAG: /ns - int nosave = tof_find_tag('/',gensym("/ns"), ac-1, av+1); + int nosave = tof_find_symbol(gensym("/ns"), ac-1, av+1); //post("ns: %i",nosave); // FIND THE NO PRESET TAG: /nps - x->nopresets = tof_find_tag('/',gensym("/nps"), ac-1, av+1); + x->nopresets = tof_find_symbol(gensym("/nps"), ac-1, av+1); // REGISTER PARAM diff --git a/src/paramCustom.h b/src/paramCustom.h index b8c8ee7..134782a 100644 --- a/src/paramCustom.h +++ b/src/paramCustom.h @@ -132,7 +132,7 @@ static void* paramCustom_new(t_symbol *s, int ac, t_atom *av) t_symbol* root = tof_get_dollarzero(tof_get_root_canvas(canvas)); // FIND THE NO PRESET TAG: /nps - x->nopresets = tof_find_tag('/',gensym("/nps"), ac-1, av+1); + x->nopresets = tof_find_symbol(gensym("/nps"), ac-1, av+1); diff --git a/src/tof.h b/src/tof.h index f6d2eba..48ed597 100644 --- a/src/tof.h +++ b/src/tof.h @@ -11,8 +11,8 @@ -char tof_buf_temp_a[MAXPDSTRING]; -char tof_buf_temp_b[MAXPDSTRING]; +static char tof_buf_temp_a[MAXPDSTRING]; +static char tof_buf_temp_b[MAXPDSTRING]; /* @@ -203,7 +203,7 @@ static int tof_next_tagged_argument(char tag, int ac, t_atom *av, int* ac_a, t_a -static int tof_find_tag(char tag, t_symbol* name, int ac, t_atom* av) { +static int tof_find_symbol(t_symbol* name, int ac, t_atom* av) { int i; for (i=0; i