Index: src/machdep.c
===================================================================
RCS file: /cvs/hugs98/src/machdep.c,v
retrieving revision 1.129
diff -u -r1.129 machdep.c
--- src/machdep.c	30 Aug 2005 10:42:33 -0000	1.129
+++ src/machdep.c	2 Sep 2005 10:28:54 -0000
@@ -86,13 +86,6 @@
 # include <windows.h>
 #endif
 
-#if HUGS_FOR_WINDOWS
-extern HCURSOR HandCursor;            /* Forward references to cursors   */
-extern HCURSOR GarbageCursor;
-extern HCURSOR SaveCursor;
-static void    local DrawStatusLine     Args((HWND));
-#endif
-
 #if DOS
 #include <mem.h>
 extern unsigned _stklen = 8000;         /* Allocate an 8k stack segment    */
@@ -987,9 +980,6 @@
 Bool gcMessages = FALSE;                /* TRUE => print GC messages       */
 
 Void gcStarted() {                      /* Notify garbage collector start  */
-#if HUGS_FOR_WINDOWS
-    SaveCursor = SetCursor(GarbageCursor);
-#endif
     if (gcMessages) {
 	Printf("{{Gc");
 	FlushStdout();
@@ -1009,9 +999,6 @@
 	Printf("%d}}",recovered);
 	FlushStdout();
     }
-#if HUGS_FOR_WINDOWS
-    SetCursor(SaveCursor);
-#endif
 }
 
 Cell *CStackBase;                       /* Retain start of C control stack */
@@ -2647,7 +2634,7 @@
 	case EXIT    : normalTerminal();
 #if HUGS_FOR_WINDOWS
 		       if (what==EXIT)
-			   DestroyWindow(hWndMain);
+			   WinHugsExit();
 		       else
 			   SetCursor(LoadCursor(NULL,IDC_ARROW));
 #endif
