From 870b2298d73c55a50d17bbe160ea51354ace7a19 Mon Sep 17 00:00:00 2001 From: dons Date: Mon, 4 Oct 2004 05:54:05 +0000 Subject: [PATCH] [project @ 2004-10-04 05:54:04 by dons] Warning police. Move prototype of genericRaise into RtsExternal.h, so the libraries can see it. --- ghc/includes/RtsExternal.h | 5 ++++- ghc/rts/RtsUtils.h | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 1.7.10.4