Commit 3ccd3959 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-07-15 08:41:02 by simonmar]

Static closures are not declared 'const' in generated code, so don't
declare them 'const' in here.

Spotted-by: GCC 3.1
parent c1d02536
/* ----------------------------------------------------------------------------
* $Id: RtsAPI.h,v 1.27 2002/06/27 15:38:58 simonmar Exp $
* $Id: RtsAPI.h,v 1.28 2002/07/15 08:41:02 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -122,8 +122,8 @@ rts_checkSchedStatus ( char* site, SchedulerStatus rc);
These are used by foreign export and foreign import "wrapper" stubs.
----------------------------------------------------------------------- */
extern DLL_IMPORT const StgClosure GHCziTopHandler_runIO_closure;
extern DLL_IMPORT const StgClosure GHCziTopHandler_runNonIO_closure;
extern DLL_IMPORT StgClosure GHCziTopHandler_runIO_closure;
extern DLL_IMPORT StgClosure GHCziTopHandler_runNonIO_closure;
#define runIO_closure (&GHCziTopHandler_runIO_closure)
#define runNonIO_closure (&GHCziTopHandler_runNonIO_closure)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment