summaryrefslogtreecommitdiff
path: root/rts/Hpc.c
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-11-29 16:51:30 -0500
committerBen Gamari <ben@smart-cactus.org>2016-11-29 16:51:30 -0500
commit428e152be6bb0fd3867e41cee82a6d5968a11a26 (patch)
treee43d217c10c052704f872cd7e1df4d335c12d376 /rts/Hpc.c
parent56d74515396c8b6360ba7898cbc4b68f0f1fb2ea (diff)
downloadhaskell-428e152be6bb0fd3867e41cee82a6d5968a11a26.tar.gz
Use C99's bool
Test Plan: Validate on lots of platforms Reviewers: erikd, simonmar, austin Reviewed By: erikd, simonmar Subscribers: michalt, thomie Differential Revision: https://phabricator.haskell.org/D2699
Diffstat (limited to 'rts/Hpc.c')
-rw-r--r--rts/Hpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Hpc.c b/rts/Hpc.c
index 70bf57b396..f2cd2007dc 100644
--- a/rts/Hpc.c
+++ b/rts/Hpc.c
@@ -120,7 +120,7 @@ readTix(void) {
while(tix_ch != ']') {
tmpModule = (HpcModuleInfo *)stgMallocBytes(sizeof(HpcModuleInfo),
"Hpc.readTix");
- tmpModule->from_file = rtsTrue;
+ tmpModule->from_file = true;
expect('T');
expect('i');
expect('x');
@@ -279,7 +279,7 @@ hs_hpc_module(char *modName,
tixArr[i] = 0;
}
tmpModule->next = modules;
- tmpModule->from_file = rtsFalse;
+ tmpModule->from_file = false;
modules = tmpModule;
insertHashTable(moduleHash, (StgWord)modName, tmpModule);
}
@@ -308,7 +308,7 @@ hs_hpc_module(char *modName,
stgFree(tmpModule->modName);
stgFree(tmpModule->tixArr);
}
- tmpModule->from_file = rtsFalse;
+ tmpModule->from_file = false;
}
}