mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
Remove reserved underscore SDL_joystick
This commit is contained in:
parent
ab2d007982
commit
81cd84f456
2 changed files with 4 additions and 4 deletions
|
@ -70,8 +70,8 @@ extern "C" {
|
||||||
#ifdef SDL_THREAD_SAFETY_ANALYSIS
|
#ifdef SDL_THREAD_SAFETY_ANALYSIS
|
||||||
extern SDL_mutex *SDL_joystick_lock;
|
extern SDL_mutex *SDL_joystick_lock;
|
||||||
#endif
|
#endif
|
||||||
struct _SDL_Joystick;
|
struct SDL_Joystick;
|
||||||
typedef struct _SDL_Joystick SDL_Joystick;
|
typedef struct SDL_Joystick SDL_Joystick;
|
||||||
|
|
||||||
/* A structure that encodes the stable unique id for a joystick device */
|
/* A structure that encodes the stable unique id for a joystick device */
|
||||||
typedef SDL_GUID SDL_JoystickGUID;
|
typedef SDL_GUID SDL_JoystickGUID;
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef struct SDL_JoystickSensorInfo
|
||||||
|
|
||||||
#define _guarded SDL_GUARDED_BY(SDL_joystick_lock)
|
#define _guarded SDL_GUARDED_BY(SDL_joystick_lock)
|
||||||
|
|
||||||
struct _SDL_Joystick
|
struct SDL_Joystick
|
||||||
{
|
{
|
||||||
const void *magic _guarded;
|
const void *magic _guarded;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ struct _SDL_Joystick
|
||||||
|
|
||||||
int ref_count _guarded; /* Reference count for multiple opens */
|
int ref_count _guarded; /* Reference count for multiple opens */
|
||||||
|
|
||||||
struct _SDL_Joystick *next _guarded; /* pointer to next joystick we have allocated */
|
struct SDL_Joystick *next _guarded; /* pointer to next joystick we have allocated */
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef _guarded
|
#undef _guarded
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue