[project @ 1999-11-02 17:04:28 by simonmar]
authorsimonmar <unknown>
Tue, 2 Nov 1999 17:04:28 +0000 (17:04 +0000)
committersimonmar <unknown>
Tue, 2 Nov 1999 17:04:28 +0000 (17:04 +0000)
make the prototypes of suspendThread and resumeThread available to the RTS.

ghc/includes/StgMacros.h

index b14ab43..2d46443 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: StgMacros.h,v 1.14 1999/11/02 15:05:52 simonmar Exp $
+ * $Id: StgMacros.h,v 1.15 1999/11/02 17:04:28 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -702,6 +702,8 @@ LoadThreadState (void)
 # endif
 }
 
+#endif /* NO_REGS */
+
 /* 
  * Suspending/resuming threads for doing external C-calls (_ccall_GC).
  * These functions are defined in rts/Schedule.c.
@@ -709,7 +711,5 @@ LoadThreadState (void)
 StgInt        suspendThread ( StgRegTable *cap );
 StgRegTable * resumeThread  ( StgInt );
 
-#endif /* NO_REGS */
-
 #endif /* STGMACROS_H */