The current SVN trunk is missing the SDLCALL specifier at numerous locations.

It has to be added for all (possibly user provided) callbacks.

I stumbled over this while creating a makefile for the OpenWatcom compiler for
Win32.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401728
This commit is contained in:
Sam Lantinga 2006-05-07 03:40:06 +00:00
parent cab8a203a7
commit b4ba6518d6
19 changed files with 85 additions and 63 deletions

View file

@ -77,7 +77,7 @@ SDL_Surface *LoadIconSurface(char *file, Uint8 **maskp)
return(icon);
}
int FilterEvents(const SDL_Event *event)
int SDLCALL FilterEvents(const SDL_Event *event)
{
static int reallyquit = 0;
@ -127,7 +127,7 @@ int FilterEvents(const SDL_Event *event)
}
}
int HandleMouse(void *unused)
int SDLCALL HandleMouse(void *unused)
{
SDL_Event events[10];
int i, found;
@ -164,7 +164,7 @@ int HandleMouse(void *unused)
return(0);
}
int HandleKeyboard(void *unused)
int SDLCALL HandleKeyboard(void *unused)
{
SDL_Event events[10];
int i, found;