summaryrefslogtreecommitdiff
path: root/rts/RtsMain.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsMain.h')
-rw-r--r--rts/RtsMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsMain.h b/rts/RtsMain.h
index 7810f6f07d..4aabc56517 100644
--- a/rts/RtsMain.h
+++ b/rts/RtsMain.h
@@ -13,6 +13,6 @@
* The entry point for Haskell programs that use a Haskell main function
* -------------------------------------------------------------------------- */
-extern int hs_main(int argc, char *argv[], void (*main_init)(void), StgClosure *main_closure);
+int hs_main(int argc, char *argv[], void (*main_init)(void), StgClosure *main_closure);
#endif /* RTSMAIN_H */