mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 12:48:28 +00:00
Remove _THIS in src/core: EVDEV UDEV
This commit is contained in:
parent
0e1669e296
commit
df314ba93e
2 changed files with 2 additions and 5 deletions
|
@ -115,9 +115,7 @@ typedef struct SDL_EVDEV_PrivateData
|
||||||
SDL_EVDEV_keyboard_state *kbd;
|
SDL_EVDEV_keyboard_state *kbd;
|
||||||
} SDL_EVDEV_PrivateData;
|
} SDL_EVDEV_PrivateData;
|
||||||
|
|
||||||
#undef _THIS
|
static SDL_EVDEV_PrivateData *_this = NULL;
|
||||||
#define _THIS SDL_EVDEV_PrivateData *_this
|
|
||||||
static _THIS = NULL;
|
|
||||||
|
|
||||||
static SDL_Scancode SDL_EVDEV_translate_keycode(int keycode);
|
static SDL_Scancode SDL_EVDEV_translate_keycode(int keycode);
|
||||||
static void SDL_EVDEV_sync_device(SDL_evdevlist_item *item);
|
static void SDL_EVDEV_sync_device(SDL_evdevlist_item *item);
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
|
|
||||||
static const char *SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" };
|
static const char *SDL_UDEV_LIBS[] = { "libudev.so.1", "libudev.so.0" };
|
||||||
|
|
||||||
#define _THIS SDL_UDEV_PrivateData *_this
|
static SDL_UDEV_PrivateData *_this = NULL;
|
||||||
static _THIS = NULL;
|
|
||||||
|
|
||||||
static SDL_bool SDL_UDEV_load_sym(const char *fn, void **addr);
|
static SDL_bool SDL_UDEV_load_sym(const char *fn, void **addr);
|
||||||
static int SDL_UDEV_load_syms(void);
|
static int SDL_UDEV_load_syms(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue