From: leslie Date: Thu, 3 Jan 2008 15:55:19 +0000 (+0100) Subject: fix testing code X-Git-Tag: 0.8.7~21 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=97735adde84088c37344aa2eb154399ed86b2721;p=sasc-ng.git fix testing code --- diff --git a/testing/Makefile b/testing/Makefile index aaed3ad..3118328 100644 --- a/testing/Makefile +++ b/testing/Makefile @@ -21,7 +21,7 @@ APIVERSNUM = $(shell sed -ne '/define APIVERSNUM/ s/^.[a-zA-Z ]*\([0-9]*\) .*$$/ INCLUDES = -I.. -I$(VDRDIR)/include DEFINES = -DAPIVERSNUM=$(APIVERSNUM) -DAPIVERSION='"$(APIVERSION)"' -DSCAPIVERS=$(SCAPIVERS) -D_GNU_SOURCE -OBJS = misc.o log.o data.o crypto.o parse.o system.o system-common.o smartcard.o network.o filter.o +OBJS = misc.o log.o data.o crypto.o parse.o system.o system-common.o smartcard.o network.o filter.o version.o SHAREDOBJS = compat.o $(VDRDIR)/tools.o $(VDRDIR)/thread.o LIBS = -lpthread -ljpeg -ldl -lcrypto diff --git a/testing/compat.c b/testing/compat.c index bd9c397..ef9d7ce 100644 --- a/testing/compat.c +++ b/testing/compat.c @@ -106,11 +106,6 @@ int ReadRaw(const char *name, unsigned char *buff, int maxlen) // // -const char *ScVersion = SCVERSION; - -// -// - extern const char *I18nTranslate(const char *s, const char *Plugin) { return s;