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 authored and Ryan C. Gordon committed 2024-04-24 09:44:41 -04:00
1 parent be6b8dead4
commit b98116a996
5 files changed
+6 -6

No files matched your search

+1 -1
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