Date: Wed, 7 Jul 2004 12:57:58 +0200
authorSam Lantinga <slouken@libsdl.org>
Sun, 18 Jul 2004 19:05:06 +0000
changeset 905 e6ceebb0f0eb
parent 904 34af7946130a
child 906 a48acf6ee48f
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).
include/SDL_joystick.h
--- 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.