Have configure take arguments telling it where gmp is; fixes trac #957
[ghc-hetmet.git] / rts / Timer.c
index d56fdb6..493fe3d 100644 (file)
@@ -17,6 +17,7 @@
 #include "Rts.h"
 #include "RtsFlags.h"
 #include "Proftimer.h"
+#include "Storage.h"
 #include "Schedule.h"
 #include "Timer.h"
 #include "Ticker.h"
@@ -82,18 +83,18 @@ handle_tick(int unused STG_UNUSED)
 #endif
 }
 
-int
+void
 startTimer(void)
 {
 #ifdef PROFILING
   initProfTimer();
 #endif
 
-  return startTicker(RtsFlags.MiscFlags.tickInterval, handle_tick);
+  startTicker(RtsFlags.MiscFlags.tickInterval, handle_tick);
 }
 
-int
+void
 stopTimer(void)
 {
-  return stopTicker();
+  stopTicker();
 }