From e9a803f42a15025ff8eed59e4ae4d8a8ab3645e0 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Wed, 21 Jan 2009 13:39:15 +0000 Subject: + added mooPdUtils.h and some MOO_UNUSED macros svn path=/trunk/externals/moocow/; revision=10582 --- flite/Makefile.am | 2 +- flite/Makefile.in | 2 +- flite/config/.cvsignore | 1 + flite/flite.c | 5 +++-- flite/mooPdUtils.h | 1 + 5 files changed, 7 insertions(+), 4 deletions(-) create mode 120000 flite/mooPdUtils.h (limited to 'flite') diff --git a/flite/Makefile.am b/flite/Makefile.am index 5e8bb7b..1cec8f7 100644 --- a/flite/Makefile.am +++ b/flite/Makefile.am @@ -45,7 +45,7 @@ data_DATA = flite-help.pd #----------------------------------------------------------------------- # sources #----------------------------------------------------------------------- -flite_SOURCES = flite.c +flite_SOURCES = flite.c mooPdUtils.h #----------------------------------------------------------------------- # external compilation : flags diff --git a/flite/Makefile.in b/flite/Makefile.in index b0ea121..8c4d25d 100644 --- a/flite/Makefile.in +++ b/flite/Makefile.in @@ -221,7 +221,7 @@ data_DATA = flite-help.pd #----------------------------------------------------------------------- # sources #----------------------------------------------------------------------- -flite_SOURCES = flite.c +flite_SOURCES = flite.c mooPdUtils.h AM_CPPFLAGS = $(DEFS) $(IFLAGS) $(DFLAGS) AM_CFLAGS = $(OFLAGS) $(WFLAGS) $(AFLAGS) flite_LDFLAGS = $(LFLAGS) diff --git a/flite/config/.cvsignore b/flite/config/.cvsignore index 851da47..61ed900 100644 --- a/flite/config/.cvsignore +++ b/flite/config/.cvsignore @@ -4,6 +4,7 @@ *.pd_linux .deps .libs +Makefile autom4te.cache config.log config.status diff --git a/flite/flite.c b/flite/flite.c index a3bb662..3fbefc1 100644 --- a/flite/flite.c +++ b/flite/flite.c @@ -10,6 +10,7 @@ #include +#include "mooPdUtils.h" /* black magic */ #ifdef NT @@ -23,7 +24,7 @@ #include #include -#include "flite/cst_wave.h" +#include /*-------------------------------------------------------------------- * DEBUG @@ -133,7 +134,7 @@ void flite_synth(t_flite *x) { /*-------------------------------------------------------------------- * flite_text : set text-buffer *--------------------------------------------------------------------*/ -void flite_text(t_flite *x, t_symbol *s, int argc, t_atom *argv) { +void flite_text(t_flite *x, MOO_UNUSED t_symbol *s, int argc, t_atom *argv) { int i, alen, buffered; t_symbol *asym; diff --git a/flite/mooPdUtils.h b/flite/mooPdUtils.h new file mode 120000 index 0000000..677b39d --- /dev/null +++ b/flite/mooPdUtils.h @@ -0,0 +1 @@ +../common/mooPdUtils.h \ No newline at end of file -- cgit v1.2.1