summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 09:53:12 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 13:24:57 +0300
commitd0e82926297e9f857d20cc25e4fe175526fe5c30 (patch)
tree7ac7973fb5e94ad1ca935cadd0bed0125e6fd376 /input
parenta4240ff36191c82653b3ebe43caa3bd43db44a42 (diff)
downloadmpv-d0e82926297e9f857d20cc25e4fe175526fe5c30.tar.bz2
mpv-d0e82926297e9f857d20cc25e4fe175526fe5c30.tar.xz
input.[ch]: Move some type definitions from .h to .c
These aren't used outside input.c.
Diffstat (limited to 'input')
-rw-r--r--input/input.c10
-rw-r--r--input/input.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/input/input.c b/input/input.c
index 7932b42fea..685e9afb00 100644
--- a/input/input.c
+++ b/input/input.c
@@ -39,6 +39,16 @@
#include "ar.h"
+typedef struct mp_cmd_bind {
+ int input[MP_MAX_KEY_DOWN+1];
+ char* cmd;
+} mp_cmd_bind_t;
+
+typedef struct mp_key_name {
+ int key;
+ char* name;
+} mp_key_name_t;
+
/// This array defines all known commands.
/// The first field is an id used to recognize the command without too many strcmp.
/// The second is obviously the command name.
diff --git a/input/input.h b/input/input.h
index 19bef56273..6833051340 100644
--- a/input/input.h
+++ b/input/input.h
@@ -194,16 +194,6 @@ typedef struct mp_cmd {
} mp_cmd_t;
-typedef struct mp_cmd_bind {
- int input[MP_MAX_KEY_DOWN+1];
- char* cmd;
-} mp_cmd_bind_t;
-
-typedef struct mp_key_name {
- int key;
- char* name;
-} mp_key_name_t;
-
// These typedefs are for the drivers. They are the functions used to retrieve
// the next key code or command.