diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-11-29 16:51:30 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-29 16:51:30 -0500 |
commit | 428e152be6bb0fd3867e41cee82a6d5968a11a26 (patch) | |
tree | e43d217c10c052704f872cd7e1df4d335c12d376 /rts/Hpc.c | |
parent | 56d74515396c8b6360ba7898cbc4b68f0f1fb2ea (diff) | |
download | haskell-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } } |