summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2018-09-07 10:47:50 +0300
committerOzkan Sezer <sezeroz@gmail.com>2018-09-07 10:47:50 +0300
commit3918965ae9282c0cf59a66b6ecac1b04dc34f8e9 (patch)
tree508fcdd3fbfe150126f725d2edbd39d76caaed13 /include
parentcdac13e19cd8c5e491329b233644b4d7b6b5ffaf (diff)
SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists.
Avoids gcc -pedantic warnings, closes bug #4253.
Diffstat (limited to 'include')
-rw-r--r--include/SDL_sensor.h2
-rw-r--r--include/SDL_video.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/SDL_sensor.h b/include/SDL_sensor.h
index 7f566e1ccb..fa19c41ff6 100644
--- a/include/SDL_sensor.h
+++ b/include/SDL_sensor.h
@@ -71,7 +71,7 @@ typedef enum
SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
SDL_SENSOR_UNKNOWN, /**< Unknown sensor type */
SDL_SENSOR_ACCEL, /**< Accelerometer */
- SDL_SENSOR_GYRO, /**< Gyroscope */
+ SDL_SENSOR_GYRO /**< Gyroscope */
} SDL_SensorType;
/**
diff --git a/include/SDL_video.h b/include/SDL_video.h
index 41ca070135..461f138051 100644
--- a/include/SDL_video.h
+++ b/include/SDL_video.h
@@ -175,7 +175,7 @@ typedef enum
typedef enum
{
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;
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_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_FLIPPED, /**< The display is in portrait mode, upside down */
+ SDL_ORIENTATION_PORTRAIT_FLIPPED /**< The display is in portrait mode, upside down */
} SDL_DisplayOrientation;
/**