changeset 28054:d717788f3fb6

Re-add "extern"s incorrectly removed in r28085
author reimar
date Thu, 04 Dec 2008 15:07:15 +0000
parents 6b0f9b8d2a29
children 7b35b91e2c49
files input/input.h loader/wrapper.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.h	Wed Dec 03 23:43:58 2008 +0000
+++ b/input/input.h	Thu Dec 04 15:07:15 2008 +0000
@@ -217,7 +217,7 @@
 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);
 
--- a/loader/wrapper.h	Wed Dec 03 23:43:58 2008 +0000
+++ b/loader/wrapper.h	Thu Dec 04 15:07:15 2008 +0000
@@ -11,7 +11,7 @@
 
 extern wrapper_func_t report_entry, report_ret;
 
-void (*wrapper_target)(void);
+extern void (*wrapper_target)(void);
 
 int wrapper(void);
 int null_call(void);