SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists.
authorOzkan Sezer <sezeroz@gmail.com>
Fri, 07 Sep 2018 10:47:50 +0300
changeset 12180a3c2b6e89522
parent 12179 c06be57c5a01
child 12181 70224e91e883
SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists.

Avoids gcc -pedantic warnings, closes bug #4253.
include/SDL_sensor.h
include/SDL_video.h
     1.1 --- a/include/SDL_sensor.h	Thu Sep 06 00:56:13 2018 -0400
     1.2 +++ b/include/SDL_sensor.h	Fri Sep 07 10:47:50 2018 +0300
     1.3 @@ -71,7 +71,7 @@
     1.4      SDL_SENSOR_INVALID = -1,    /**< Returned for an invalid sensor */
     1.5      SDL_SENSOR_UNKNOWN,         /**< Unknown sensor type */
     1.6      SDL_SENSOR_ACCEL,           /**< Accelerometer */
     1.7 -    SDL_SENSOR_GYRO,            /**< Gyroscope */
     1.8 +    SDL_SENSOR_GYRO             /**< Gyroscope */
     1.9  } SDL_SensorType;
    1.10  
    1.11  /**
     2.1 --- a/include/SDL_video.h	Thu Sep 06 00:56:13 2018 -0400
     2.2 +++ b/include/SDL_video.h	Fri Sep 07 10:47:50 2018 +0300
     2.3 @@ -175,7 +175,7 @@
     2.4  typedef enum
     2.5  {
     2.6      SDL_DISPLAYEVENT_NONE,          /**< Never used */
     2.7 -    SDL_DISPLAYEVENT_ORIENTATION,   /**< Display orientation has changed to data1 */
     2.8 +    SDL_DISPLAYEVENT_ORIENTATION    /**< Display orientation has changed to data1 */
     2.9  } SDL_DisplayEventID;
    2.10  
    2.11  typedef enum
    2.12 @@ -184,7 +184,7 @@
    2.13      SDL_ORIENTATION_LANDSCAPE,          /**< The display is in landscape mode, with the right side up, relative to portrait mode */
    2.14      SDL_ORIENTATION_LANDSCAPE_FLIPPED,  /**< The display is in landscape mode, with the left side up, relative to portrait mode */
    2.15      SDL_ORIENTATION_PORTRAIT,           /**< The display is in portrait mode */
    2.16 -    SDL_ORIENTATION_PORTRAIT_FLIPPED,   /**< The display is in portrait mode, upside down */
    2.17 +    SDL_ORIENTATION_PORTRAIT_FLIPPED    /**< The display is in portrait mode, upside down */
    2.18  } SDL_DisplayOrientation;
    2.19  
    2.20  /**