mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
Fix warning: no function prototype
This commit is contained in:

committed by
Sam Lantinga

parent
4a3faf20ac
commit
004ac40226
@@ -1246,12 +1246,12 @@ static bool HIDAPI_IsEquivalentToDevice(Uint16 vendor_id, Uint16 product_id, SDL
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool HIDAPI_StartUpdatingDevices()
|
static bool HIDAPI_StartUpdatingDevices(void)
|
||||||
{
|
{
|
||||||
return SDL_CompareAndSwapAtomicInt(&SDL_HIDAPI_updating_devices, false, true);
|
return SDL_CompareAndSwapAtomicInt(&SDL_HIDAPI_updating_devices, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void HIDAPI_FinishUpdatingDevices()
|
static void HIDAPI_FinishUpdatingDevices(void)
|
||||||
{
|
{
|
||||||
SDL_SetAtomicInt(&SDL_HIDAPI_updating_devices, false);
|
SDL_SetAtomicInt(&SDL_HIDAPI_updating_devices, false);
|
||||||
}
|
}
|
||||||
|
@@ -22,11 +22,11 @@
|
|||||||
#include "../../core/windows/SDL_windows.h"
|
#include "../../core/windows/SDL_windows.h"
|
||||||
|
|
||||||
// Return true if the RawInput driver is enabled
|
// Return true if the RawInput driver is enabled
|
||||||
extern bool RAWINPUT_IsEnabled();
|
extern bool RAWINPUT_IsEnabled(void);
|
||||||
|
|
||||||
// Registers for input events
|
// Registers for input events
|
||||||
extern int RAWINPUT_RegisterNotifications(HWND hWnd);
|
extern int RAWINPUT_RegisterNotifications(HWND hWnd);
|
||||||
extern int RAWINPUT_UnregisterNotifications();
|
extern int RAWINPUT_UnregisterNotifications(void);
|
||||||
|
|
||||||
// Returns 0 if message was handled
|
// Returns 0 if message was handled
|
||||||
extern LRESULT CALLBACK RAWINPUT_WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
extern LRESULT CALLBACK RAWINPUT_WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||||
|
@@ -29,6 +29,6 @@ extern HCURSOR SDL_cursor;
|
|||||||
extern void WIN_InitMouse(SDL_VideoDevice *_this);
|
extern void WIN_InitMouse(SDL_VideoDevice *_this);
|
||||||
extern void WIN_QuitMouse(SDL_VideoDevice *_this);
|
extern void WIN_QuitMouse(SDL_VideoDevice *_this);
|
||||||
extern void WIN_SetCursorPos(int x, int y);
|
extern void WIN_SetCursorPos(int x, int y);
|
||||||
extern void WIN_UpdateMouseSystemScale();
|
extern void WIN_UpdateMouseSystemScale(void);
|
||||||
|
|
||||||
#endif // SDL_windowsmouse_h_
|
#endif // SDL_windowsmouse_h_
|
||||||
|
Reference in New Issue
Block a user