From a2d5f0a42ec2df33f838e1d63bd9d3f20d44edf5 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 11 May 2012 09:22:47 +0200 Subject: [PATCH] fexc: use script.o --- Makefile | 2 ++ fexc.c | 8 -------- fexc.h | 4 ++++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7697bee..b0bde5b 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ $(TOOLS): Makefile common.h fex2bin bin2fex: fexc ln -s $< $@ +fexc: script.h script.c + %: %.c %.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.c,$^) $(LIBS) diff --git a/fexc.c b/fexc.c index 23978e4..dd478b1 100644 --- a/fexc.c +++ b/fexc.c @@ -25,14 +25,6 @@ /* */ -static struct script *script_new(void) -{ - return NULL; -} -static void script_delete(struct script *UNUSED(script)) -{ -} - static int script_parse(int UNUSED(mode), const char *UNUSED(filename), struct script *UNUSED(script)) { diff --git a/fexc.h b/fexc.h index a5e5cd5..8f8d14d 100644 --- a/fexc.h +++ b/fexc.h @@ -19,4 +19,8 @@ #include "common.h" +#include + +#include "script.h" + #endif