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

@ -323,7 +323,7 @@ typedef enum SDL_Keymod
SDL_KMOD_CTRL = SDL_KMOD_LCTRL | SDL_KMOD_RCTRL, /**< Any Ctrl key is down. */
SDL_KMOD_SHIFT = SDL_KMOD_LSHIFT | SDL_KMOD_RSHIFT, /**< Any Shift key is down. */
SDL_KMOD_ALT = SDL_KMOD_LALT | SDL_KMOD_RALT, /**< Any Alt key is down. */
SDL_KMOD_GUI = SDL_KMOD_LGUI | SDL_KMOD_RGUI, /**< Any GUI key is down. */
SDL_KMOD_GUI = SDL_KMOD_LGUI | SDL_KMOD_RGUI /**< Any GUI key is down. */
} SDL_Keymod;
#endif /* SDL_keycode_h_ */