From a21190b9d3ba6bdf72097077963db9bd40bc6dad Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 28 Feb 2008 18:32:17 +0000 Subject: joystick.c is only ever compiled on Linux, remove pointless #ifdef around the whole file and dummy functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26112 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/joystick.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'input') diff --git a/input/joystick.c b/input/joystick.c index 0fb2c041ed..ec3720548d 100644 --- a/input/joystick.c +++ b/input/joystick.c @@ -24,8 +24,6 @@ #define JS_DEV "/dev/input/js0" #endif -#ifdef TARGET_LINUX - #include int axis[256]; @@ -145,18 +143,3 @@ int mp_input_joystick_read(int fd) { return MP_INPUT_NOTHING; } - -#else /* TARGET_LINUX */ - -// dummy function - -int mp_input_joystick_init(char* dev) { - return -1; -} - -int mp_input_joystick_read(int fd) { - - return MP_INPUT_NOTHING; -} - -#endif /* TARGET_LINUX */ -- cgit v1.2.3