From: dons Date: Mon, 4 Oct 2004 05:54:05 +0000 (+0000) Subject: [project @ 2004-10-04 05:54:04 by dons] X-Git-Tag: Initial_conversion_from_CVS_complete~1537 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=870b2298d73c55a50d17bbe160ea51354ace7a19;p=ghc-hetmet.git [project @ 2004-10-04 05:54:04 by dons] Warning police. Move prototype of genericRaise into RtsExternal.h, so the libraries can see it. --- diff --git a/ghc/includes/RtsExternal.h b/ghc/includes/RtsExternal.h index 3e9762f..96c92d2 100644 --- a/ghc/includes/RtsExternal.h +++ b/ghc/includes/RtsExternal.h @@ -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); diff --git a/ghc/rts/RtsUtils.h b/ghc/rts/RtsUtils.h index 4b0678d..97769b9 100644 --- a/ghc/rts/RtsUtils.h +++ b/ghc/rts/RtsUtils.h @@ -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