summaryrefslogtreecommitdiff
path: root/compiler/ghci/keepCAFsForGHCi.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ghci/keepCAFsForGHCi.c')
-rw-r--r--compiler/ghci/keepCAFsForGHCi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ghci/keepCAFsForGHCi.c b/compiler/ghci/keepCAFsForGHCi.c
index f125d4c4d0..805088e753 100644
--- a/compiler/ghci/keepCAFsForGHCi.c
+++ b/compiler/ghci/keepCAFsForGHCi.c
@@ -7,9 +7,9 @@
// files.
#ifdef DYNAMIC
-static void keepCAFsForGHCi() __attribute__((constructor));
+static void keepCAFsForGHCi(void) __attribute__((constructor));
-static void keepCAFsForGHCi()
+static void keepCAFsForGHCi(void)
{
keepCAFs = 1;
}