summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-03-17 22:09:34 +0000
committerDan Everton <dan@iocaine.org>2006-03-17 22:09:34 +0000
commit5b3e3e1f2a378b67165c9618cf677e694f01c39d (patch)
treeb9ac8afc0a0f3b27189d51804b0b0dff99fa4631 /uisimulator
parent13c63de2c128f4bb2307153815de7291479f77e3 (diff)
downloadrockbox-5b3e3e1f2a378b67165c9618cf677e694f01c39d.tar.gz
rockbox-5b3e3e1f2a378b67165c9618cf677e694f01c39d.tar.bz2
rockbox-5b3e3e1f2a378b67165c9618cf677e694f01c39d.zip
Fix some incorrectly declared functions in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/sound.c2
-rw-r--r--uisimulator/sdl/uisdl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index a95b19d417..6d181d2f57 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -51,7 +51,7 @@ static void sdl_dma_start(const void *addr, size_t size)
SDL_PauseAudio(0);
}
-static void sdl_dma_stop()
+static void sdl_dma_stop(void)
{
pcm_playing = false;
diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c
index efa623a180..b0b422f910 100644
--- a/uisimulator/sdl/uisdl.c
+++ b/uisimulator/sdl/uisdl.c
@@ -101,7 +101,7 @@ void gui_message_loop(void)
}
}
-bool gui_startup()
+bool gui_startup(void)
{
SDL_Surface *picture_surface;
int width, height;
@@ -162,7 +162,7 @@ bool gui_startup()
return true;
}
-bool gui_shutdown()
+bool gui_shutdown(void)
{
int i;