From d18b5d53e74318e4a6bc2ad0557ff71a00c1abe1 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 12 Aug 2011 14:26:34 +0100 Subject: make shutdownHaskellAndExit() shut down the RTS and exit immediately (#5402) --- rts/RtsMain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rts/RtsMain.h') diff --git a/rts/RtsMain.h b/rts/RtsMain.h index 24e58199bb..e004480cce 100644 --- a/rts/RtsMain.h +++ b/rts/RtsMain.h @@ -13,6 +13,7 @@ * The entry point for Haskell programs that use a Haskell main function * -------------------------------------------------------------------------- */ -int hs_main(int argc, char *argv[], StgClosure *main_closure); +int hs_main(int argc, char *argv[], StgClosure *main_closure) + GNUC3_ATTRIBUTE(__noreturn__); #endif /* RTSMAIN_H */ -- cgit v1.2.1