summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.c
diff options
context:
space:
mode:
authorSimon Marlow <smarlow@fb.com>2016-01-07 06:23:14 -0800
committerSimon Marlow <marlowsd@gmail.com>2016-01-08 14:05:43 +0000
commitc33e7c2b1a62f340432c752fb37ca1374e3e982a (patch)
treeeda4be10846866a98dea0c9ba556a843cf7323c6 /rts/ProfHeap.c
parent1abb7005067e22039807de34cd60bed55316e925 (diff)
downloadhaskell-c33e7c2b1a62f340432c752fb37ca1374e3e982a.tar.gz
Fix +RTS -h when compiling without -prof
Summary: Was broken by ce1f1607ed7f8fedd2f63c8610cafefd59baaf32. I've added a test so that hopefully it won't break again. Test Plan: validate & new test case Reviewers: bgamari, austin, erikd Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1746 GHC Trac Issues: #11304
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r--rts/ProfHeap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 43bd7b4225..e7f6417014 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -311,15 +311,11 @@ nextEra( void )
FILE *hp_file;
static char *hp_filename;
-void initProfiling (void)
-{
-}
-
void freeProfiling (void)
{
}
-void initProfiling2 (void)
+void initProfiling (void)
{
char *prog;