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

+2 -2
View File
@@ -67,7 +67,7 @@ typedef enum SDL_DateFormat
{
SDL_DATE_FORMAT_YYYYMMDD = 0, /**< Year/Month/Day */
SDL_DATE_FORMAT_DDMMYYYY = 1, /**< Day/Month/Year */
SDL_DATE_FORMAT_MMDDYYYY = 2, /**< Month/Day/Year */
SDL_DATE_FORMAT_MMDDYYYY = 2 /**< Month/Day/Year */
} SDL_DateFormat;
/**
@@ -80,7 +80,7 @@ typedef enum SDL_DateFormat
typedef enum SDL_TimeFormat
{
SDL_TIME_FORMAT_24HR = 0, /**< 24 hour time */
SDL_TIME_FORMAT_12HR = 1, /**< 12 hour time */
SDL_TIME_FORMAT_12HR = 1 /**< 12 hour time */
} SDL_TimeFormat;
/*