summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2018-08-21 13:44:11 -0700
committerSam Lantinga <slouken@libsdl.org>2018-08-21 13:44:11 -0700
commitd6d954b4901bf200b8b64c2a6a1e3b2b8a0f1485 (patch)
tree035b851ff3595327b3a7cc0d5929bd43907bd361
parent1ec3f8a42ce03d8709fe454f62de307459a873d2 (diff)
downloadsdl-d6d954b4901bf200b8b64c2a6a1e3b2b8a0f1485.tar.gz
Fixed duplicate definition of SDL_JoystickID
-rw-r--r--include/SDL_sensor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/SDL_sensor.h b/include/SDL_sensor.h
index 8ab41780c..a093056d5 100644
--- a/include/SDL_sensor.h
+++ b/include/SDL_sensor.h
@@ -57,8 +57,7 @@ typedef struct _SDL_Sensor SDL_Sensor;
*
* The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
*/
-typedef Sint32 SDL_JoystickID;
-typedef int SDL_SensorID;
+typedef Sint32 SDL_SensorID;
/* The different sensor types */
typedef enum