diff options
Diffstat (limited to 'shared/toxy')
-rw-r--r-- | shared/toxy/scriptlet.c | 12 | ||||
-rw-r--r-- | shared/toxy/scriptlet.h | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/shared/toxy/scriptlet.c b/shared/toxy/scriptlet.c index 4f4221f..b21f51a 100644 --- a/shared/toxy/scriptlet.c +++ b/shared/toxy/scriptlet.c @@ -342,9 +342,9 @@ void scriptlet_prealloc(t_scriptlet *sp, int sz, int mayshrink) scriptlet_reset(sp); } -int scriptlet_addstring(t_scriptlet *sp, char *ibuf, - int resolveall, int visedonly, - int ac, t_atom *av, t_props *argprops) +static int scriptlet_addstring(t_scriptlet *sp, char *ibuf, + int resolveall, int visedonly, + int ac, t_atom *av, t_props *argprops) { int result = 1; char *bp = ibuf, *ep = ibuf, *ep1; @@ -373,7 +373,7 @@ int scriptlet_addstring(t_scriptlet *sp, char *ibuf, return (result); } -int scriptlet_addfloat(t_scriptlet *sp, t_float f) +static int scriptlet_addfloat(t_scriptlet *sp, t_float f) { char buf[64]; if (!sp->s_separator) @@ -450,8 +450,8 @@ void scriptlet_vpush(t_scriptlet *sp, char *varname) } } -int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, - int visedonly, int ac, t_atom *av, t_props *argprops) +int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, int visedonly, + int ac, t_atom *av, t_props *argprops) { if (scriptlet_ready(insp)) { diff --git a/shared/toxy/scriptlet.h b/shared/toxy/scriptlet.h index b284797..30b8df9 100644 --- a/shared/toxy/scriptlet.h +++ b/shared/toxy/scriptlet.h @@ -21,16 +21,12 @@ void scriptlet_reset(t_scriptlet *sp); void scriptlet_prealloc(t_scriptlet *sp, int sz, int mayshrink); int scriptlet_add(t_scriptlet *sp, int resolveall, int visedonly, int ac, t_atom *av); -int scriptlet_addstring(t_scriptlet *sp, char *ibuf, - int resolveall, int visedonly, - int ac, t_atom *av, t_props *argprops); -int scriptlet_addfloat(t_scriptlet *sp, t_float f); void scriptlet_setseparator(t_scriptlet *sp, char c); void scriptlet_push(t_scriptlet *sp); void scriptlet_qpush(t_scriptlet *sp); void scriptlet_vpush(t_scriptlet *sp, char *varname); -int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, - int visedonly, int ac, t_atom *av, t_props *argprops); +int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, int visedonly, + int ac, t_atom *av, t_props *argprops); char *scriptlet_nextword(char *buf); int scriptlet_rcparse(t_scriptlet *sp, t_pd *caller, char *rc, char *contents, t_scriptlet_cmntfn cmntfn); |