diff options
Diffstat (limited to 'sprinkler')
-rw-r--r-- | sprinkler/Makefile.am | 2 | ||||
-rw-r--r-- | sprinkler/Makefile.in | 2 | ||||
l--------- | sprinkler/mooPdUtils.h | 1 | ||||
-rw-r--r-- | sprinkler/sprinkler.c | 7 |
4 files changed, 7 insertions, 5 deletions
diff --git a/sprinkler/Makefile.am b/sprinkler/Makefile.am index af90188..26a718e 100644 --- a/sprinkler/Makefile.am +++ b/sprinkler/Makefile.am @@ -143,7 +143,7 @@ pddoc_DATA = sprinkler-help.pd #----------------------------------------------------------------------- sprinkler_SOURCES = \ - sprinkler.c + sprinkler.c mooPdUtils.h #----------------------------------------------------------------------- # external compilation : flags diff --git a/sprinkler/Makefile.in b/sprinkler/Makefile.in index 57e56c8..ab82719 100644 --- a/sprinkler/Makefile.in +++ b/sprinkler/Makefile.in @@ -266,7 +266,7 @@ pddoc_DATA = sprinkler-help.pd # sources #----------------------------------------------------------------------- sprinkler_SOURCES = \ - sprinkler.c + sprinkler.c mooPdUtils.h AM_CPPFLAGS = $(IFLAGS) $(DFLAGS) AM_CFLAGS = $(OFLAGS) $(WFLAGS) $(AFLAGS) diff --git a/sprinkler/mooPdUtils.h b/sprinkler/mooPdUtils.h new file mode 120000 index 0000000..677b39d --- /dev/null +++ b/sprinkler/mooPdUtils.h @@ -0,0 +1 @@ +../common/mooPdUtils.h
\ No newline at end of file diff --git a/sprinkler/sprinkler.c b/sprinkler/sprinkler.c index a6fd458..619f41e 100644 --- a/sprinkler/sprinkler.c +++ b/sprinkler/sprinkler.c @@ -11,7 +11,7 @@ * + formerly 'forward.c' * * - * Copyright (c) 2002,2004 Bryan Jurish. + * Copyright (c) 2002-2009 Bryan Jurish. * * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. @@ -34,6 +34,7 @@ *=============================================================================*/ #include <m_pd.h> +#include "mooPdUtils.h" /* black magic */ #ifdef NT @@ -144,7 +145,7 @@ static void sprinkler_anything(t_sprinkler *x, t_symbol *dst, int argc, t_atom * outlet_anything(x->x_thru, dst, argc, argv); } -static void sprinkler_list(t_sprinkler *x, t_symbol *s, int argc, t_atom *argv) +static void sprinkler_list(t_sprinkler *x, MOO_UNUSED t_symbol *s, int argc, t_atom *argv) { #ifdef SPRINKLER_DEBUG post("sprinkler_debug : sprinkler_list : argc=%d", argc); @@ -156,7 +157,7 @@ static void sprinkler_list(t_sprinkler *x, t_symbol *s, int argc, t_atom *argv) /*-------------------------------------------------------------------- * newmethod, freemethod */ -void *sprinkler_new(t_symbol *s) +void *sprinkler_new(MOO_UNUSED t_symbol *s) { t_sprinkler *x = (t_sprinkler *)pd_new(sprinkler_class); x->x_thru = outlet_new(&x->x_obj, &s_anything); |