summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-08-12 21:07:15 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-08-12 21:07:15 +0000
commit9fe4dbf33c74b4cf11e612b24edc4bf6e7ff587d (patch)
treedbef5428978375773165af997445c985ffdc27ba
parentef87933add325b408d7aeeebae6356181556fa98 (diff)
downloadrockbox-9fe4dbf33c74b4cf11e612b24edc4bf6e7ff587d.tar.gz
rockbox-9fe4dbf33c74b4cf11e612b24edc4bf6e7ff587d.zip
Removed unused abort function implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18261 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/mpa.c7
-rw-r--r--apps/plugins/mpegplayer/alloc.c8
2 files changed, 0 insertions, 15 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 1181c1e1fb..7ac96fb8b2 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -29,13 +29,6 @@ struct mad_stream stream IBSS_ATTR;
29struct mad_frame frame IBSS_ATTR; 29struct mad_frame frame IBSS_ATTR;
30struct mad_synth synth IBSS_ATTR; 30struct mad_synth synth IBSS_ATTR;
31 31
32/* The following function is used inside libmad - let's hope it's never
33 called.
34*/
35
36void abort(void) {
37}
38
39#define INPUT_CHUNK_SIZE 8192 32#define INPUT_CHUNK_SIZE 8192
40 33
41mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR; 34mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR;
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c
index 0feabdbbed..c4f936ee14 100644
--- a/apps/plugins/mpegplayer/alloc.c
+++ b/apps/plugins/mpegplayer/alloc.c
@@ -256,11 +256,3 @@ void *memset(void *s, int c, size_t n)
256 return rb->memset(s,c,n); 256 return rb->memset(s,c,n);
257} 257}
258 258
259void abort(void)
260{
261 rb->lcd_putsxy(0,0,"ABORT!");
262 rb->lcd_update();
263
264 while (1);
265 /* Let's hope this is never called */
266}