[project @ 2003-03-28 23:46:39 by sof]
authorsof <unknown>
Fri, 28 Mar 2003 23:46:40 +0000 (23:46 +0000)
committersof <unknown>
Fri, 28 Mar 2003 23:46:40 +0000 (23:46 +0000)
block_vtalrm_signal() and unblock_vtalrm_signal(): unused, disable.

ghc/rts/Itimer.c
ghc/rts/Itimer.h

index f1dd823..8dee12c 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Itimer.c,v 1.32 2003/02/22 04:51:50 sof Exp $
+ * $Id: Itimer.c,v 1.33 2003/03/28 23:46:39 sof Exp $
  *
  * (c) The GHC Team, 1995-1999
  *
@@ -136,6 +136,8 @@ stopTicker()
 }
 # endif
 
+#if 0
+/* Currently unused */
 void
 block_vtalrm_signal(void)
 {
@@ -157,6 +159,7 @@ unblock_vtalrm_signal(void)
 
     (void) sigprocmask(SIG_UNBLOCK, &signals, NULL);
 }
+#endif
 
 /* gettimeofday() takes around 1us on our 500MHz PIII.  Since we're
  * only calling it 50 times/s, it shouldn't have any great impact.
index 03e47d8..e473ad5 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Itimer.h,v 1.11 2003/02/22 04:51:51 sof Exp $
+ * $Id: Itimer.h,v 1.12 2003/03/28 23:46:40 sof Exp $
  *
  * (c) The GHC Team 1998-2001
  *
 extern int startTicker( nat ms );
 extern int stopTicker ( void );
 
+extern unsigned int getourtimeofday   ( void );
+#if 0
+/* unused */
 extern void block_vtalrm_signal       ( void );
 extern void unblock_vtalrm_signal     ( void );
-extern unsigned int getourtimeofday   ( void );
+#endif
 #endif /* __ITIMER_H__ */