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:
committed by
Ryan C. Gordon
parent
be6b8dead4
commit
b98116a996
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user