Reorganisation of the source tree
[ghc-hetmet.git] / ghc / rts / hooks / MallocFail.c
diff --git a/ghc/rts/hooks/MallocFail.c b/ghc/rts/hooks/MallocFail.c
deleted file mode 100644 (file)
index 1218d1d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -----------------------------------------------------------------------------
- *
- * User-overridable RTS hooks.
- *
- * ---------------------------------------------------------------------------*/
-
-#include "Rts.h"
-
-#include <stdio.h>
-
-void
-MallocFailHook (lnat request_size /* in bytes */, char *msg)
-{
-    fprintf(stderr, "malloc: failed on request for %lu bytes; message: %s\n", request_size, msg);
-}
-