Fixed compiler warning.

This commit is contained in:
Ryan C. Gordon 2012-12-11 19:25:35 -05:00
parent 119f6eca4f
commit cb80113535

View File

@ -302,6 +302,7 @@ MaybeAddDevice(const char *path)
return numjoysticks++;
}
#if SDL_USE_LIBUDEV
/* !!! FIXME: I would love to dump this code and use libudev instead. */
static int
MaybeRemoveDevice(const char *path)
@ -341,6 +342,7 @@ MaybeRemoveDevice(const char *path)
return -1;
}
#endif
static int
JoystickInitWithoutUdev(void)