[project @ 2002-11-18 10:45:45 by simonmar]
[ghc-hetmet.git] / ghc / rts / Itimer.c
index 9df937b..bbc8738 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Itimer.c,v 1.29 2001/11/27 01:57:59 sof Exp $
+ * $Id: Itimer.c,v 1.31 2002/08/16 13:29:06 simonmar Exp $
  *
  * (c) The GHC Team, 1995-1999
  *
 # include <windows.h>
 #endif
  
-lnat total_ticks = 0;
+#ifdef HAVE_SIGNAL_H
+# include <signal.h>
+#endif
+
+static lnat total_ticks = 0;
 
 /* ticks left before next pre-emptive context switch */
-int ticks_to_ctxt_switch = 0;
+static int ticks_to_ctxt_switch = 0;
 
 /* -----------------------------------------------------------------------------
    Tick handler