Remove _THIS in src/core: EVDEV UDEV

This commit is contained in:
Sylvain 2023-05-09 12:54:34 +02:00 committed by Ryan C. Gordon
parent 0e1669e296
commit df314ba93e
2 changed files with 2 additions and 5 deletions

View file

@ -115,9 +115,7 @@ typedef struct SDL_EVDEV_PrivateData
SDL_EVDEV_keyboard_state *kbd;
} SDL_EVDEV_PrivateData;
#undef _THIS
#define _THIS SDL_EVDEV_PrivateData *_this
static _THIS = NULL;
static SDL_EVDEV_PrivateData *_this = NULL;
static SDL_Scancode SDL_EVDEV_translate_keycode(int keycode);
static void SDL_EVDEV_sync_device(SDL_evdevlist_item *item);