From eae4dde1d893eeec24e706f076904ebcd43d7007 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 7 Dec 2012 09:00:45 +0100 Subject: [PATCH] don't include defs.h where not needed --- sndiod/Makefile.in | 4 ++-- sndiod/abuf.c | 1 - sndiod/dsp.c | 1 - sndiod/opt.c | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sndiod/Makefile.in b/sndiod/Makefile.in index ffa96bd..ee91472 100644 --- a/sndiod/Makefile.in +++ b/sndiod/Makefile.in @@ -53,10 +53,10 @@ sndiod: ${OBJS} .c.o: ${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $< -abuf.o: abuf.c abuf.h defs.h utils.h +abuf.o: abuf.c abuf.h utils.h dev.o: dev.c ../bsd-compat/bsd-compat.h abuf.h defs.h dev.h \ dsp.h siofile.h midi.h miofile.h opt.h sysex.h utils.h -dsp.o: dsp.c defs.h dsp.h utils.h +dsp.o: dsp.c dsp.h defs.h utils.h file.o: file.c file.h utils.h listen.o: listen.c listen.h file.h sock.h ../libsndio/amsg.h \ utils.h ../bsd-compat/bsd-compat.h diff --git a/sndiod/abuf.c b/sndiod/abuf.c index 18a5824..2f1d47b 100644 --- a/sndiod/abuf.c +++ b/sndiod/abuf.c @@ -27,7 +27,6 @@ #include #include "abuf.h" -#include "defs.h" #include "utils.h" #ifdef DEBUG diff --git a/sndiod/dsp.c b/sndiod/dsp.c index a7720c2..50d2ca2 100644 --- a/sndiod/dsp.c +++ b/sndiod/dsp.c @@ -15,7 +15,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include -#include "defs.h" #include "dsp.h" #include "utils.h" diff --git a/sndiod/opt.c b/sndiod/opt.c index d3effff..61586d2 100644 --- a/sndiod/opt.c +++ b/sndiod/opt.c @@ -19,7 +19,6 @@ #include #include "dev.h" -#include "defs.h" #include "opt.h" #include "utils.h"