Commit c5bcefa7e8866089d67cdc920afb2b60bd04d3aa

Sam Lantinga 2018-08-21T13:44:11

Fixed duplicate definition of SDL_JoystickID

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/SDL_sensor.h b/include/SDL_sensor.h
index 8ab4178..a093056 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