include: Fixes to make the headers friendly with the latest wikiheaders.

This commit is contained in:
Ryan C. Gordon 2024-04-11 01:17:27 -04:00
parent 9216b7a5ee
commit e75d72670f
No known key found for this signature in database
GPG key ID: FA148B892AB48044
19 changed files with 59 additions and 56 deletions

View file

@ -260,7 +260,9 @@ typedef void (*SDL_KernelMemoryBarrierFunc)();
* \brief A type representing an atomic integer value. It is a struct
* so people don't accidentally use numeric operations on it.
*/
typedef struct { int value; } SDL_atomic_t;
typedef struct SDL_atomic_t {
int value;
} SDL_atomic_t;
/**
* Set an atomic variable to a new value if it is currently an old value.