diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-05-15 22:31:25 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-15 22:31:25 +0000 |
| commit | fef807acf782c4af69b10767c4cc08c832e39291 (patch) | |
| tree | 1653c3cee9b77c9dda857c3dee59daf06c46899c | |
| parent | 06adb38326fc542e05799941ae59a13ba5c8ee86 (diff) | |
| download | rockbox-fef807acf782c4af69b10767c4cc08c832e39291.zip rockbox-fef807acf782c4af69b10767c4cc08c832e39291.tar.gz rockbox-fef807acf782c4af69b10767c4cc08c832e39291.tar.bz2 rockbox-fef807acf782c4af69b10767c4cc08c832e39291.tar.xz | |
Correct button_read_device prototype for HAVE_BUTTON_DATA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26073 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/target/hosted/sdl/button-sdl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.h b/firmware/target/hosted/sdl/button-sdl.h index e61920c..e6fcb9e 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__ */ |