summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl')
-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;