summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-09-09 16:55:59 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-09-09 16:58:39 +0100
commitcca9cb117f795b2d0075c787b1129f65c4071238 (patch)
tree09b8f552ca3554c5f10ca34caab727a02802d5c5 /testsuite/tests/dynlibs
parent3c4aac067e13358cd89db390eeac463290fb4a81 (diff)
downloadhaskell-cca9cb117f795b2d0075c787b1129f65c4071238.tar.gz
Remove unnecessary hs_add_root call (#7031)
Diffstat (limited to 'testsuite/tests/dynlibs')
-rw-r--r--testsuite/tests/dynlibs/T4464B.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/testsuite/tests/dynlibs/T4464B.c b/testsuite/tests/dynlibs/T4464B.c
index fea44986c2..310b75a58d 100644
--- a/testsuite/tests/dynlibs/T4464B.c
+++ b/testsuite/tests/dynlibs/T4464B.c
@@ -1,8 +1,6 @@
#include <Rts.h>
-extern void __stginit_T4464H(void);
-
void HsStart(void) {
int argc = 3;
char* argv[] = {"ghcDll", "+RTS", "-H50M", NULL}; // argv must end with NULL
@@ -19,9 +17,6 @@ void HsStart(void) {
#else
hs_init(&argc, &args);
#endif
-
- // Tell Haskell about all root modules
- hs_add_root(__stginit_T4464H);
}
void HsEnd(void) {