From fef807acf782c4af69b10767c4cc08c832e39291 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 15 May 2010 22:31:25 +0000 Subject: Correct button_read_device prototype for HAVE_BUTTON_DATA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26073 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/hosted/sdl/button-sdl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/target/hosted/sdl/button-sdl.h b/firmware/target/hosted/sdl/button-sdl.h index e61920cc04..e6fcb9ea83 100644 --- a/firmware/target/hosted/sdl/button-sdl.h +++ b/firmware/target/hosted/sdl/button-sdl.h @@ -29,6 +29,10 @@ bool button_hold(void); #undef button_init_device void button_init_device(void); +#ifdef HAVE_BUTTON_DATA +int button_read_device(int *data); +#else int button_read_device(void); +#endif #endif /* __BUTTON_SDL_H__ */ -- cgit v1.2.3