diff --git a/include/SDL_joystick.h b/include/SDL_joystick.h
index 1b8f18032f1f1f0fd7063f18c10b11cc4910e978..00f0ba93cf6b88254c9cc511a60164343e2412f6 100644
--- a/include/SDL_joystick.h
+++ b/include/SDL_joystick.h
@@ -68,7 +68,7 @@ extern DECLSPEC const char * SDLCALL SDL_JoystickName(int device_index);
  *
  * 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.