still wtf
[mate.git] / trap.c
diff --git a/trap.c b/trap.c
deleted file mode 100644 (file)
index a1e5ddc..0000000
--- a/trap.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-
-void callertrap(void)
-{
-       char buf[5];
-       unsigned int *ptr = (unsigned int) (buf + 1);
-
-       printf("callertrap by 0x%08x\n", *(ptr + 4));
-       /* TODO:
-        * call magic haskell function
-        * with environment information */
-}
-
-unsigned int getaddr(void)
-{
-       return (unsigned int) callertrap;
-}