diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-16 18:17:48 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-16 21:32:37 +0300 |
commit | 1916b95b8d3737ac783eb6351664f9892824e5c5 (patch) | |
tree | de224a15c89b6fac92c74a38e64b6b98ccfa5dfa /input/ar.h | |
parent | db4dee45848bd48873cc3b0f654b6409c0ef3754 (diff) | |
download | mpv-1916b95b8d3737ac783eb6351664f9892824e5c5.tar.bz2 mpv-1916b95b8d3737ac783eb6351664f9892824e5c5.tar.xz |
cleanup: remove some unnecessary input.[ch] typedefs
Remove some unnecessary typedefs and remove pointless mp_ prefix from
some internal struct names.
Change the type of the "close_func" pointers from "void f(int fd)" to
"int f(int fd)" so that using standard close() there is valid.
Delete some useless assert() statements.
Move internal MP_MAX_KEY_DOWN define from input.h to input.c.
Diffstat (limited to 'input/ar.h')
-rw-r--r-- | input/ar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/ar.h b/input/ar.h index 56b88d5823..dff6d12f8a 100644 --- a/input/ar.h +++ b/input/ar.h @@ -26,7 +26,7 @@ /* MacOSX Driver */ int mp_input_ar_init(void); int mp_input_ar_read(void *ctx, int fd); -void mp_input_ar_close(int fd); +int mp_input_ar_close(int fd); /* Linux Driver */ int mp_input_appleir_init(char* dev); |