Fixed compiler warning.

This commit is contained in:
Ryan C. Gordon 2012-12-11 19:25:35 -05:00
parent 7cb9995377
commit 22f3f2b927

View file

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