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 - SDL_GetNumTouchDevices() has incorrect prototype
Summary: SDL_GetNumTouchDevices() has incorrect prototype
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-11 12:37 UTC by nfxjfg
Modified: 2013-05-12 08:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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