From f8fd34bad82786d2fcf47f3055c9872048e927b0 Mon Sep 17 00:00:00 2001 From: sof Date: Sun, 5 Oct 1997 20:34:00 +0000 Subject: [PATCH] [project @ 1997-10-05 20:34:00 by sof] prototype for NoRunnableThreadsHook changed; commented out old protos --- ghc/includes/stgdefs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/includes/stgdefs.h b/ghc/includes/stgdefs.h index 50eb657..7170d42 100644 --- a/ghc/includes/stgdefs.h +++ b/ghc/includes/stgdefs.h @@ -215,16 +215,18 @@ void miniInterpret PROTO((StgFunPtr)); void miniInterpret_debug PROTO(( StgFunPtr, void(*)(STG_NO_ARGS) )); void miniInterpretEnd(STG_NO_ARGS); +/* UNUSED -- SOF 9/97 StgFunPtr evaluateMain(STG_NO_ARGS); StgFunPtr returnMain(STG_NO_ARGS); StgFunPtr impossible_jump_after_switch(STG_NO_ARGS); +*/ /* hooks: user might write some of their own */ void ErrorHdrHook PROTO((FILE *)); void OutOfHeapHook PROTO((W_, W_)); void StackOverflowHook PROTO((I_)); #ifdef CONCURRENT -void NoRunnableThreadsHook (STG_NO_ARGS); +int NoRunnableThreadsHook (STG_NO_ARGS); #endif void MallocFailHook PROTO((I_, char *)); void PatErrorHdrHook PROTO((FILE *)); -- 1.7.10.4