Fix compilation issues for sdl when HAVE_BUTTON_DATA is not defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2011-03-03 17:37:08 +00:00
parent f85c04469e
commit 5664d8412d

View file

@ -31,7 +31,11 @@
bool button_hold(void);
*/
void button_init_device(void);
#ifdef HAVE_BUTTON_DATA
int button_read_device(int *data);
#else
int button_read_device(void);
#endif
/* Main unit's buttons */
#define BUTTON_UP 0x00000001