Date: Wed, 7 Jul 2004 12:57:58 +0200
From: "Markus F.X.J. Oberhumer"
Subject: [SDL-CVS] [patch] small fix for SDL_joystick.h
the tiny patch below (against current CVS) fixes a syntax error
(not allow compilers allow multiple __cdecl).
--- a/include/SDL_joystick.h Sun Jul 18 19:01:27 2004 +0000
+++ b/include/SDL_joystick.h Sun Jul 18 19:05:06 2004 +0000
@@ -68,7 +68,7 @@
*
* This function returns a joystick identifier, or NULL if an error occurred.
*/
-extern DECLSPEC SDL_Joystick * SDLCALL SDLCALL SDL_JoystickOpen(int device_index);
+extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
/*
* Returns 1 if the joystick has been opened, or 0 if it has not.