Fixed bug 1845 - SDL_GetNumTouchDevices() has incorrect prototype

nfxjfg

SDL_touch.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

Is:

extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices();

Should be:

extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);
This commit is contained in:
Philipp Wiesemann 2013-05-12 13:42:20 +02:00
parent df60747e3b
commit aa0aeac03c
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ SDL_TouchInit(void)
}
int
SDL_GetNumTouchDevices()
SDL_GetNumTouchDevices(void)
{
return SDL_num_touch;
}