diff options
| author | Juanma Barranquero | 2011-03-14 18:07:53 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2011-03-14 18:07:53 +0100 |
| commit | 7684e57b24092dbfbbe7fc62a1a544e40e2ce88a (patch) | |
| tree | fee092544c95e422483f41079d1bfd9dfdd6248f /src/w32inevt.c | |
| parent | e756ec02a4415f054cac4887a1b03ae4d7ed6ccb (diff) | |
| download | emacs-7684e57b24092dbfbbe7fc62a1a544e40e2ce88a.tar.gz emacs-7684e57b24092dbfbbe7fc62a1a544e40e2ce88a.zip | |
src/w32*.c: Clean up extern declarations.
* w32select.c: Don't #include "keyboard.h".
(run_protected): Add extern declaration for waiting_for_input.
* lisp.h (VWindow_system, Qfile_name_history):
* keyboard.h (lispy_function_keys) [WINDOWSNT]:
* w32term.h (w32_system_caret_hwnd, w32_system_caret_height)
(w32_system_caret_x, w32_system_caret_y): Declare extern.
* w32.c (Qlocal, noninteractive1, inhibit_window_system):
* w32console.c (detect_input_pending, read_input_pending)
(encode_terminal_code):
* w32fns.c (quit_char, lispy_function_keys, Qtooltip)
(w32_system_caret_hwnd, w32_system_caret_height, w32_system_caret_x)
(w32_system_caret_y, Qfile_name_history):
* w32font.c (w32font_driver, QCantialias, QCotf, QClang):
* w32inevt.c (reinvoke_input_signal, lispy_function_keys):
* w32menu.c (Qmenu_bar, QCtoggle, QCradio, Qoverriding_local_map)
(Qoverriding_terminal_local_map, Qmenu_bar_update_hook):
* w32proc.c (Qlocal, report_file_error):
* w32term.c (Vwindow_system, updating_frame):
* w32uniscribe.c (initialized, uniscribe_font_driver):
Remove unneeded extern declarations.
Diffstat (limited to 'src/w32inevt.c')
| -rw-r--r-- | src/w32inevt.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c index d0b097100fd..c4858dea908 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c | |||
| @@ -40,18 +40,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 40 | #include "w32heap.h" | 40 | #include "w32heap.h" |
| 41 | #include "w32term.h" | 41 | #include "w32term.h" |
| 42 | 42 | ||
| 43 | /* stdin, from ntterm */ | 43 | /* stdin, from w32console.c */ |
| 44 | extern HANDLE keyboard_handle; | 44 | extern HANDLE keyboard_handle; |
| 45 | 45 | ||
| 46 | /* Info for last mouse motion */ | 46 | /* Info for last mouse motion */ |
| 47 | static COORD movement_pos; | 47 | static COORD movement_pos; |
| 48 | static DWORD movement_time; | 48 | static DWORD movement_time; |
| 49 | 49 | ||
| 50 | /* from keyboard.c */ | 50 | /* from w32fns.c */ |
| 51 | extern void reinvoke_input_signal (void); | ||
| 52 | |||
| 53 | extern unsigned int map_keypad_keys (unsigned int, unsigned int); | 51 | extern unsigned int map_keypad_keys (unsigned int, unsigned int); |
| 54 | |||
| 55 | extern unsigned int w32_key_to_modifier (int key); | 52 | extern unsigned int w32_key_to_modifier (int key); |
| 56 | 53 | ||
| 57 | /* Event queue */ | 54 | /* Event queue */ |
| @@ -261,8 +258,6 @@ w32_kbd_patch_key (KEY_EVENT_RECORD *event) | |||
| 261 | } | 258 | } |
| 262 | 259 | ||
| 263 | 260 | ||
| 264 | extern const char *const lispy_function_keys[]; | ||
| 265 | |||
| 266 | static int faked_key = 0; | 261 | static int faked_key = 0; |
| 267 | 262 | ||
| 268 | /* return code -1 means that event_queue_ptr won't be incremented. | 263 | /* return code -1 means that event_queue_ptr won't be incremented. |