mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 18:06:26 +00:00
Patch from Sylvain to fix clang warnings
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */
|
||||
#include "SDL_assert.h"
|
||||
|
||||
SDL_Haptic *SDL_haptics = NULL;
|
||||
static SDL_Haptic *SDL_haptics = NULL;
|
||||
|
||||
|
||||
/*
|
||||
|
@@ -62,7 +62,7 @@ struct _SDL_Haptic
|
||||
extern int SDL_SYS_HapticInit(void);
|
||||
|
||||
/* Function to return the number of haptic devices plugged in right now */
|
||||
extern int SDL_SYS_NumHaptics();
|
||||
extern int SDL_SYS_NumHaptics(void);
|
||||
|
||||
/*
|
||||
* Gets the device dependent name of the haptic device
|
||||
|
Reference in New Issue
Block a user