forked from len0rd/rockbox
Correct button_read_device prototype for HAVE_BUTTON_DATA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26073 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
06adb38326
commit
fef807acf7
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@
|
||||||
bool button_hold(void);
|
bool button_hold(void);
|
||||||
#undef button_init_device
|
#undef button_init_device
|
||||||
void button_init_device(void);
|
void button_init_device(void);
|
||||||
|
#ifdef HAVE_BUTTON_DATA
|
||||||
|
int button_read_device(int *data);
|
||||||
|
#else
|
||||||
int button_read_device(void);
|
int button_read_device(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __BUTTON_SDL_H__ */
|
#endif /* __BUTTON_SDL_H__ */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue