summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.h b/input/input.h
index 9f92e1f636..8cb1b9730e 100644
--- a/input/input.h
+++ b/input/input.h
@@ -217,7 +217,7 @@ typedef int (*mp_cmd_func_t)(int fd,char* dest,int size);
typedef void (*mp_close_func_t)(int fd);
// Set this to grab all incoming key codes
-int (*mp_input_key_cb)(int code);
+extern int (*mp_input_key_cb)(int code);
// Should return 1 if the command was processed
typedef int (*mp_input_cmd_filter)(mp_cmd_t* cmd, int paused, void* ctx);