mirror of https://github.com/encounter/SDL.git
SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists.
Avoids gcc -pedantic warnings, closes bug #4253.
This commit is contained in:
parent
264b81b481
commit
afc1738ecb
|
@ -71,7 +71,7 @@ typedef enum
|
||||||
SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
|
SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
|
||||||
SDL_SENSOR_UNKNOWN, /**< Unknown sensor type */
|
SDL_SENSOR_UNKNOWN, /**< Unknown sensor type */
|
||||||
SDL_SENSOR_ACCEL, /**< Accelerometer */
|
SDL_SENSOR_ACCEL, /**< Accelerometer */
|
||||||
SDL_SENSOR_GYRO, /**< Gyroscope */
|
SDL_SENSOR_GYRO /**< Gyroscope */
|
||||||
} SDL_SensorType;
|
} SDL_SensorType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -175,7 +175,7 @@ typedef enum
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
SDL_DISPLAYEVENT_NONE, /**< Never used */
|
SDL_DISPLAYEVENT_NONE, /**< Never used */
|
||||||
SDL_DISPLAYEVENT_ORIENTATION, /**< Display orientation has changed to data1 */
|
SDL_DISPLAYEVENT_ORIENTATION /**< Display orientation has changed to data1 */
|
||||||
} SDL_DisplayEventID;
|
} SDL_DisplayEventID;
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -184,7 +184,7 @@ typedef enum
|
||||||
SDL_ORIENTATION_LANDSCAPE, /**< The display is in landscape mode, with the right side up, relative to portrait mode */
|
SDL_ORIENTATION_LANDSCAPE, /**< The display is in landscape mode, with the right side up, relative to portrait mode */
|
||||||
SDL_ORIENTATION_LANDSCAPE_FLIPPED, /**< The display is in landscape mode, with the left side up, relative to portrait mode */
|
SDL_ORIENTATION_LANDSCAPE_FLIPPED, /**< The display is in landscape mode, with the left side up, relative to portrait mode */
|
||||||
SDL_ORIENTATION_PORTRAIT, /**< The display is in portrait mode */
|
SDL_ORIENTATION_PORTRAIT, /**< The display is in portrait mode */
|
||||||
SDL_ORIENTATION_PORTRAIT_FLIPPED, /**< The display is in portrait mode, upside down */
|
SDL_ORIENTATION_PORTRAIT_FLIPPED /**< The display is in portrait mode, upside down */
|
||||||
} SDL_DisplayOrientation;
|
} SDL_DisplayOrientation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue