Fix various warnings: static /void / comma

This commit is contained in:
Sylvain 2023-03-06 12:04:59 +01:00 committed by Sylvain Becker
parent c9aec268fa
commit 9b065bf54b
31 changed files with 76 additions and 75 deletions

View file

@ -149,7 +149,7 @@ SDL_SensorID *SDL_GetSensors(int *count)
* Return the next available sensor instance ID
* This may be called by drivers from multiple threads, unprotected by any locks
*/
SDL_SensorID SDL_GetNextSensorInstanceID()
SDL_SensorID SDL_GetNextSensorInstanceID(void)
{
return SDL_AtomicIncRef(&SDL_last_sensor_instance_id) + 1;
}