From fa1ce85426afd438eaaf4dd044d3df4b319ac80d Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 14 Feb 2002 16:58:13 +0000 Subject: [PATCH] [project @ 2002-02-14 16:58:13 by sof] as per simonpj request, add mingw protos to avoid -Wmissing-declarations warnings --- ghc/includes/Rts.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index 97924dc..38953a3 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Rts.h,v 1.17 2002/02/13 07:48:18 sof Exp $ + * $Id: Rts.h,v 1.18 2002/02/14 16:58:13 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -45,6 +45,14 @@ extern "C" { /* declarations for runtime flags/values */ #define MAX_RTS_ARGS 32 +#ifdef _WIN32 +/* On the yucky side..suppress -Wmissing-declarations warnings when + * including + */ +extern void* GetCurrentFiber ( void ); +extern void* GetFiberData ( void ); +#endif + /* ----------------------------------------------------------------------------- Assertions and Debuggery -------------------------------------------------------------------------- */ -- 1.7.10.4