We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1845

Summary: SDL_GetNumTouchDevices() has incorrect prototype
Product: SDL Reporter: nfxjfg
Component: mainAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: philipp.wiesemann
Version: HG 2.0   
Hardware: x86   
OS: Linux   

Description nfxjfg 2013-05-11 12:37:17 UTC
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);
Comment 1 Philipp Wiesemann 2013-05-12 08:14:23 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/d5f5a491fe49