mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Fixed a few "-Wstrict-prototypes" warnings
This commit is contained in:
committed by
Sam Lantinga
parent
e6d200e51c
commit
2c2c2c5a48
@@ -1439,7 +1439,7 @@ static void HandleGamepadGyroEvent(SDL_Event *event)
|
||||
#define SDL_GAMEPAD_IMU_MIN_POLLING_RATE_ESTIMATION_TIME_NS (SDL_NS_PER_SECOND * 2)
|
||||
|
||||
|
||||
static void EstimatePacketRate()
|
||||
static void EstimatePacketRate(void)
|
||||
{
|
||||
Uint64 now_ns = SDL_GetTicksNS();
|
||||
if (controller->imu_state->imu_packet_counter == 0) {
|
||||
|
||||
Reference in New Issue
Block a user