diff options
| author | Simon Peyton Jones <simonpj@microsoft.com> | 2011-08-02 08:18:40 +0100 |
|---|---|---|
| committer | Simon Peyton Jones <simonpj@microsoft.com> | 2011-08-02 08:18:40 +0100 |
| commit | 5dedffb3b314bb93ec4d0cf2b5da98297333f201 (patch) | |
| tree | 0cbe42ef6f9c29949240fd91293b6fb43d058160 /compiler/ghci | |
| parent | 35d213abfe27502fa34b60975c4b18ed51bfeb05 (diff) | |
| parent | dd96a196e4719d04ba78675069e93d01a50b7b33 (diff) | |
| download | haskell-5dedffb3b314bb93ec4d0cf2b5da98297333f201.tar.gz | |
Merge branch 'master' of http://darcs.haskell.org/ghc
Diffstat (limited to 'compiler/ghci')
| -rw-r--r-- | compiler/ghci/keepCAFsForGHCi.c | 4 |
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; } |
