Removing trailing commas in enums in SDL headers

Trailing commas in enums is a C99 feature.
This commit removes them in SDL headers for ANSI compatibility.
This commit is contained in:
Petar Popovic 2024-04-24 14:55:50 +02:00 committed by Ryan C. Gordon
parent be6b8dead4
commit b98116a996
5 changed files with 6 additions and 6 deletions

View file

@ -107,7 +107,7 @@ typedef enum
SDL_JOYSTICK_CONNECTION_INVALID = -1,
SDL_JOYSTICK_CONNECTION_UNKNOWN,
SDL_JOYSTICK_CONNECTION_WIRED,
SDL_JOYSTICK_CONNECTION_WIRELESS,
SDL_JOYSTICK_CONNECTION_WIRELESS
} SDL_JoystickConnectionState;
#define SDL_JOYSTICK_AXIS_MAX 32767