More fix warnings about static function and prototype

This commit is contained in:
Sylvain 2023-03-08 16:12:45 +01:00 committed by Sylvain Becker
parent 16bb6a0b3d
commit c963f02571
38 changed files with 262 additions and 257 deletions

View file

@ -3,6 +3,7 @@
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_test.h>
#include "testautomation_suites.h"
/* Flag indicating if the param should be checked */
static int g_paramCheck = 0;
@ -31,7 +32,7 @@ static void timerSetUp(void *arg)
/**
* \brief Call to SDL_GetPerformanceCounter
*/
int timer_getPerformanceCounter(void *arg)
static int timer_getPerformanceCounter(void *arg)
{
Uint64 result;
@ -45,7 +46,7 @@ int timer_getPerformanceCounter(void *arg)
/**
* \brief Call to SDL_GetPerformanceFrequency
*/
int timer_getPerformanceFrequency(void *arg)
static int timer_getPerformanceFrequency(void *arg)
{
Uint64 result;
@ -59,7 +60,7 @@ int timer_getPerformanceFrequency(void *arg)
/**
* \brief Call to SDL_Delay and SDL_GetTicks
*/
int timer_delayAndGetTicks(void *arg)
static int timer_delayAndGetTicks(void *arg)
{
const int testDelay = 100;
const int marginOfError = 25;
@ -114,7 +115,7 @@ static Uint32 SDLCALL timerTestCallback(Uint32 interval, void *param)
/**
* \brief Call to SDL_AddTimer and SDL_RemoveTimer
*/
int timer_addRemoveTimer(void *arg)
static int timer_addRemoveTimer(void *arg)
{
SDL_TimerID id;
SDL_bool result;