From 6cdbb12e854266a28f4a028bcc834f88953bfed2 Mon Sep 17 00:00:00 2001 From: rrt Date: Thu, 12 Jul 2001 10:34:54 +0000 Subject: [PATCH] [project @ 2001-07-12 10:34:54 by rrt] Remove addrOf_ErrorHdrHook, as the NCG now can (or should) cope with foreign labels, and in any case, we don't use the NCG to build the standard library. The motivation for this fix is preventing HSstd_cbits depending on the RTS, so that it can be built as a DLL (for .NET) without needing to get the RTS built as a DLL (that way lies madness). --- ghc/lib/std/cbits/writeError.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ghc/lib/std/cbits/writeError.c b/ghc/lib/std/cbits/writeError.c index 078f224..591f5ad 100644 --- a/ghc/lib/std/cbits/writeError.c +++ b/ghc/lib/std/cbits/writeError.c @@ -1,7 +1,7 @@ /* * (c) The GRASP/AQUA Project, Glasgow University, 1998 * - * $Id: writeError.c,v 1.6 2001/05/18 16:54:07 simonmar Exp $ + * $Id: writeError.c,v 1.7 2001/07/12 10:34:54 rrt Exp $ * * hPutStr Runtime Support */ @@ -20,12 +20,6 @@ implementation in one or two places.) #include "RtsUtils.h" #include "HsStd.h" -HsAddr -addrOf_ErrorHdrHook(void) -{ - return &ErrorHdrHook; -} - void writeErrString__ (HsAddr msg_hdr, HsAddr msg, HsInt len) { -- 1.7.10.4