changeset 83882:c81c5bd99c21

(one_and_only_w32cons): Remove. (initialize_w32_display): Take terminal argument.
author Jason Rumney <jasonr@gnu.org>
date Tue, 04 Sep 2007 22:30:17 +0000
parents e83e76dafddb
children cbc88cef4fca
files src/w32console.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32console.c	Tue Sep 04 21:43:50 2007 +0000
+++ b/src/w32console.c	Tue Sep 04 22:30:17 2007 +0000
@@ -534,15 +534,10 @@
 
 typedef int (*term_hook) ();
 
-/* TEMPORARY HACK to get w32console compiling. To support multiple consoles,
-   this needs to go! */
-struct terminal one_and_only_w32cons;
-
 void
-initialize_w32_display (void)
+initialize_w32_display (struct terminal *term)
 {
   CONSOLE_SCREEN_BUFFER_INFO	info;
-  struct terminal *term = &one_and_only_w32cons;
 
   term->cursor_to_hook		= w32con_move_cursor;
   term->raw_cursor_to_hook		= w32con_move_cursor;