diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2006-09-03 21:00:19 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2006-09-03 21:00:19 +0000 |
commit | 8300d8c194d66384d376c951cef1159438e28f0f (patch) | |
tree | 748d7983179b81b4e4e44bccb997ecf33d85d941 /uisimulator/common/stubs.c | |
parent | 9bb312823528b0ee3203adc1856e62db59fc5d06 (diff) | |
download | rockbox-8300d8c194d66384d376c951cef1159438e28f0f.tar.gz rockbox-8300d8c194d66384d376c951cef1159438e28f0f.zip |
Oops - fix warnings and add a simulator version of remove_thread_on_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10876 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common/stubs.c')
-rw-r--r-- | uisimulator/common/stubs.c | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index b06c812772..05031caba2 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -1,10 +1,10 @@ /*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ * $Id$ * * Copyright (C) 2002 by Björn Stenberg <bjorn@haxx.se> @@ -51,7 +51,7 @@ int ata_write_sectors(IF_MV2(int drive,) const void* buf) { int i; - + for (i=0; i<count; i++ ) { FILE* f; char name[32]; @@ -72,7 +72,7 @@ int ata_read_sectors(IF_MV2(int drive,) void* buf) { int i; - + for (i=0; i<count; i++ ) { FILE* f; char name[32]; @@ -241,7 +241,7 @@ int talk_number(int n, bool enqueue) return 0; } -int talk_spell(char* spell, bool enqueue) +int talk_spell(char* spell, bool enqueue) { (void)spell; (void)enqueue; @@ -259,6 +259,12 @@ void remove_thread(int threadnum) (void)threadnum; } +void remove_thread_on_core(unsigned int core, int threadnum) +{ + (void)core; + (void)threadnum; +} + /* assure an unused place to direct virtual pointers to */ #define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ unsigned char vp_dummy[VIRT_SIZE]; |