From 8eeec17041aba1727fdd8847e3b8254d3ec62239 Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Mon, 21 Jun 2010 12:29:48 +0000 Subject: [PATCH] Remove the stubbed main() from wmaprodec.c since it's useless now and remove Makefile for the same reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27010 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwmapro/Makefile | 11 ----------- apps/codecs/libwmapro/wmaprodec.c | 6 ------ 2 files changed, 17 deletions(-) delete mode 100644 apps/codecs/libwmapro/Makefile diff --git a/apps/codecs/libwmapro/Makefile b/apps/codecs/libwmapro/Makefile deleted file mode 100644 index 74334ffad5..0000000000 --- a/apps/codecs/libwmapro/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -STD = c99 -LINK = -lm -CFLAGS = -Wall -std=$(STD) -TARGET = test -OBJS = wmaprodec.c wma.c dsputil.c mdct.c fft.c bitstream.c libavutil/log.c libavutil/mem.c libavutil/mathematics.c -$(TARGET): $(OBJS) - gcc $(CFLAGS) $(OBJS) $(LINK) -o $(TARGET) - -clean: - rm -f $(TARGET) *~ *.o libavutil/*.o - diff --git a/apps/codecs/libwmapro/wmaprodec.c b/apps/codecs/libwmapro/wmaprodec.c index e72919434c..9d9e2cbc61 100644 --- a/apps/codecs/libwmapro/wmaprodec.c +++ b/apps/codecs/libwmapro/wmaprodec.c @@ -1599,9 +1599,3 @@ AVCodec wmapro_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"), }; #endif - -int main(void) -{ - /* possible test program - just here now to ensure linking is done properly */ - return 0; -}