[project @ 2004-10-04 05:54:04 by dons]
authordons <unknown>
Mon, 4 Oct 2004 05:54:05 +0000 (05:54 +0000)
committerdons <unknown>
Mon, 4 Oct 2004 05:54:05 +0000 (05:54 +0000)
Warning police. Move prototype of genericRaise into RtsExternal.h, so
the libraries can see it.

ghc/includes/RtsExternal.h
ghc/rts/RtsUtils.h

index 3e9762f..96c92d2 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: RtsExternal.h,v 1.4 2004/09/09 11:38:09 stolz Exp $
+ * $Id: RtsExternal.h,v 1.5 2004/10/04 05:54:04 dons Exp $
  *
  * (c) The GHC Team, 1998-2004
  *
@@ -30,6 +30,9 @@ extern void newCAF(StgClosure*);
 extern I_ genSymZh(void);
 extern I_ resetGenSymZh(void);
 
+/* Alternate to raise(3) for threaded rts, for OpenBSD */
+extern int genericRaise(int sig);
+
 /* Concurrency/Exception PrimOps. */
 extern int cmp_thread(StgPtr tso1, StgPtr tso2);
 extern int rts_getThreadId(StgPtr tso);
index 4b0678d..97769b9 100644 (file)
@@ -50,6 +50,4 @@ extern void heapCheckFail( void );
 extern void* __hscore_get_saved_termios(int fd);
 extern void __hscore_set_saved_termios(int fd, void* ts);
 
-extern int genericRaise(int sig);
-
 #endif // RTSUTILS_H