don't include defs.h where not needed

This commit is contained in:
Alexandre Ratchov 2012-12-07 09:00:45 +01:00
parent a17e696708
commit eae4dde1d8
4 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -27,7 +27,6 @@
#include <string.h>
#include "abuf.h"
#include "defs.h"
#include "utils.h"
#ifdef DEBUG

View File

@ -15,7 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <string.h>
#include "defs.h"
#include "dsp.h"
#include "utils.h"

View File

@ -19,7 +19,6 @@
#include <string.h>
#include "dev.h"
#include "defs.h"
#include "opt.h"
#include "utils.h"