aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-25 14:07:04 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-25 14:07:04 +0000
commite6d36d808bebfabbb4c11bf46f0c80acb5e35a6a (patch)
tree11cf74002f8dd46461380c8bb024cfd84bd20ca8
parente2377f078623cb33813ba4f5acb56adeb9d119aa (diff)
Removed unused arguments in tof.h
svn path=/trunk/externals/tof/; revision=12672
-rw-r--r--src/param.c8
-rw-r--r--src/paramCustom.h2
-rw-r--r--src/tof.h6
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<ac;i++) {
if ( IS_A_SYMBOL(av,i) && name == atom_getsymbol(av+i) ) {