Fixed warning and code style in SDL_evdev.c

Sam Lantinga 2016-10-01 14:56:53 -07:00
parent d2c8c5094c
commit a0d3e0d64a
1 changed files with 182 additions and 179 deletions

View File

@ -580,8 +580,10 @@ SDL_EVDEV_translate_keycode( int keycode )
return scancode;
}
#ifdef SDL_USE_LIBUDEV
static int
SDL_EVDEV_init_touchscreen( SDL_evdevlist_item* item ) {
SDL_EVDEV_init_touchscreen(SDL_evdevlist_item* item)
{
int ret, i;
char name[64];
struct input_absinfo abs_info;
@ -657,6 +659,7 @@ SDL_EVDEV_init_touchscreen( SDL_evdevlist_item* item ) {
return 0;
}
#endif /* SDL_USE_LIBUDEV */
static void
SDL_EVDEV_destroy_touchscreen(SDL_evdevlist_item* item) {