linux/SDL_sysjoystick.c (MaybeRemoveDevice): remove SDL_USE_LIBUDEV guards
fixes bug #5349.
This commit is contained in:
1 parent
94a047f718
commit
c122e9b9ce
1 file changed
-2
@@ -343,7 +343,6 @@ MaybeAddDevice(const char *path)
|
||||
return numjoysticks;
|
||||
}
|
||||
|
||||
#if SDL_USE_LIBUDEV
|
||||
static int
|
||||
MaybeRemoveDevice(const char *path)
|
||||
{
|
||||
@@ -386,7 +385,6 @@ MaybeRemoveDevice(const char *path)
|
||||
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
HandlePendingRemovals(void)
|
||||
|
||||
Reference in new issue
Block a user