From: sof Date: Thu, 14 Feb 2002 16:58:13 +0000 (+0000) Subject: [project @ 2002-02-14 16:58:13 by sof] X-Git-Tag: Approximately_9120_patches~44 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fa1ce85426afd438eaaf4dd044d3df4b319ac80d;p=ghc-hetmet.git [project @ 2002-02-14 16:58:13 by sof] as per simonpj request, add mingw protos to avoid -Wmissing-declarations warnings --- 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 -------------------------------------------------------------------------- */