More fix warnings about static function and prototype
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_test.h>
|
||||
#include "testautomation_suites.h"
|
||||
|
||||
/* ================= Test Case Implementation ================== */
|
||||
|
||||
@@ -42,7 +43,7 @@ static int SDLCALL events_sampleNullEventFilter(void *userdata, SDL_Event *event
|
||||
* \sa SDL_PumpEvents
|
||||
* \sa SDL_PollEvent
|
||||
*/
|
||||
int events_pushPumpAndPollUserevent(void *arg)
|
||||
static int events_pushPumpAndPollUserevent(void *arg)
|
||||
{
|
||||
SDL_Event event1;
|
||||
SDL_Event event2;
|
||||
@@ -75,7 +76,7 @@ int events_pushPumpAndPollUserevent(void *arg)
|
||||
* \sa SDL_DelEventWatch
|
||||
*
|
||||
*/
|
||||
int events_addDelEventWatch(void *arg)
|
||||
static int events_addDelEventWatch(void *arg)
|
||||
{
|
||||
SDL_Event event;
|
||||
|
||||
@@ -124,7 +125,7 @@ int events_addDelEventWatch(void *arg)
|
||||
* \sa SDL_DelEventWatch
|
||||
*
|
||||
*/
|
||||
int events_addDelEventWatchWithUserdata(void *arg)
|
||||
static int events_addDelEventWatchWithUserdata(void *arg)
|
||||
{
|
||||
SDL_Event event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user