Fixed empty parameter list in signatures of internal functions.
This commit is contained in:
parent
f69c47aaea
commit
2a8a7f92b7
20 changed files with 45 additions and 31 deletions
|
@ -363,12 +363,14 @@ SDL_SYS_JoystickInit(void)
|
|||
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
/* Support for device connect/disconnect is API >= 16 only,
|
||||
* so we poll every three seconds
|
||||
|
|
|
@ -204,12 +204,14 @@ SDL_SYS_JoystickInit(void)
|
|||
return (SDL_SYS_numjoysticks);
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return SDL_SYS_numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -580,7 +580,7 @@ SDL_SYS_JoystickInit(void)
|
|||
|
||||
/* Function to return the number of joystick devices plugged in right now */
|
||||
int
|
||||
SDL_SYS_NumJoysticks()
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
recDevice *device = gpDeviceList;
|
||||
int nJoySticks = 0;
|
||||
|
@ -598,7 +598,7 @@ SDL_SYS_NumJoysticks()
|
|||
/* Function to cause any queued joystick insertions to be processed
|
||||
*/
|
||||
void
|
||||
SDL_SYS_JoystickDetect()
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
recDevice *device = gpDeviceList;
|
||||
while (device) {
|
||||
|
|
|
@ -37,12 +37,14 @@ SDL_SYS_JoystickInit(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -240,12 +240,14 @@ JoystickByIndex(int index)
|
|||
return item;
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -84,12 +84,12 @@ extern "C"
|
|||
return (SDL_SYS_numjoysticks);
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return SDL_SYS_numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -326,12 +326,14 @@ SDL_SYS_JoystickInit(void)
|
|||
return numjoysticks;
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -348,12 +348,14 @@ SDL_SYS_JoystickInit(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
#if SDL_USE_LIBUDEV
|
||||
SDL_UDEV_Poll();
|
||||
|
|
|
@ -132,12 +132,12 @@ int SDL_SYS_JoystickInit(void)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -183,12 +183,14 @@ SDL_SYS_JoystickInit(void)
|
|||
return (SDL_SYS_numjoysticks);
|
||||
}
|
||||
|
||||
int SDL_SYS_NumJoysticks()
|
||||
int
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
return SDL_SYS_numjoysticks;
|
||||
}
|
||||
|
||||
void SDL_SYS_JoystickDetect()
|
||||
void
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -307,7 +307,7 @@ SDL_SYS_JoystickInit(void)
|
|||
|
||||
/* return the number of joysticks that are connected right now */
|
||||
int
|
||||
SDL_SYS_NumJoysticks()
|
||||
SDL_SYS_NumJoysticks(void)
|
||||
{
|
||||
int nJoysticks = 0;
|
||||
JoyStick_DeviceData *device = SYS_Joystick;
|
||||
|
@ -321,7 +321,7 @@ SDL_SYS_NumJoysticks()
|
|||
|
||||
/* detect any new joysticks being inserted into the system */
|
||||
void
|
||||
SDL_SYS_JoystickDetect()
|
||||
SDL_SYS_JoystickDetect(void)
|
||||
{
|
||||
JoyStick_DeviceData *pCurList = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue