summaryrefslogtreecommitdiff
path: root/ghc/rts/hooks/StackOverflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/rts/hooks/StackOverflow.c')
-rw-r--r--ghc/rts/hooks/StackOverflow.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ghc/rts/hooks/StackOverflow.c b/ghc/rts/hooks/StackOverflow.c
deleted file mode 100644
index a395a3a1a5..0000000000
--- a/ghc/rts/hooks/StackOverflow.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -----------------------------------------------------------------------------
- *
- * User-overridable RTS hooks.
- *
- * ---------------------------------------------------------------------------*/
-
-#include "Rts.h"
-
-#include <stdio.h>
-
-void
-StackOverflowHook (lnat stack_size) /* in bytes */
-{
- fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size);
-}
-