From: stolz Date: Thu, 9 Sep 2004 11:38:09 +0000 (+0000) Subject: [project @ 2004-09-09 11:38:09 by stolz] X-Git-Tag: Initial_conversion_from_CVS_complete~1619 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=03e2a10d05924ade9d9bfef230d3dc3502e5c762;hp=cb90040a7e66ca608fec5cee59c3bd137c8b266c;p=ghc-hetmet.git [project @ 2004-09-09 11:38:09 by stolz] Move forkProcess()-prototype to RtsExternal.h where package unix can see it (avoids an 'implicit declaration' warning there) --- diff --git a/ghc/includes/RtsExternal.h b/ghc/includes/RtsExternal.h index d8d810b..3e9762f 100644 --- a/ghc/includes/RtsExternal.h +++ b/ghc/includes/RtsExternal.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsExternal.h,v 1.3 2004/08/21 12:47:17 panne Exp $ + * $Id: RtsExternal.h,v 1.4 2004/09/09 11:38:09 stolz Exp $ * * (c) The GHC Team, 1998-2004 * @@ -34,6 +34,7 @@ extern I_ resetGenSymZh(void); extern int cmp_thread(StgPtr tso1, StgPtr tso2); extern int rts_getThreadId(StgPtr tso); extern int forkOS_createThread ( HsStablePtr entry ); +extern StgInt forkProcess(HsStablePtr *entry); /* grimy low-level support functions defined in StgPrimFloat.c */ extern StgDouble __encodeDouble (I_ size, StgByteArray arr, I_ e); diff --git a/ghc/rts/Schedule.h b/ghc/rts/Schedule.h index d097a39..8924a62 100644 --- a/ghc/rts/Schedule.h +++ b/ghc/rts/Schedule.h @@ -158,7 +158,6 @@ extern nat RTS_VAR(rts_n_waiting_tasks); StgBool rtsSupportsBoundThreads(void); StgBool isThreadBound(StgTSO *tso); -StgInt forkProcess(HsStablePtr *entry); extern SchedulerStatus rts_mainLazyIO(HaskellObj p, /*out*/HaskellObj *ret);