diff options
author | John Ericson <git@JohnEricson.me> | 2019-09-10 00:15:48 -0400 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2019-10-05 00:11:58 -0400 |
commit | ee8118caf12526456c619e17cbc0f729c6cd2391 (patch) | |
tree | 01c437c7e588987f35494e24c98aaa9260251f03 /compiler/parser | |
parent | 8039b6257ce5288e9e38c2593ff2d5d6d316efd4 (diff) | |
download | haskell-ee8118caf12526456c619e17cbc0f729c6cd2391.tar.gz |
Clean up `#include`s in the compiler
- Remove unneeded ones
- Use <..> for inter-package.
Besides general clean up, helps distinguish between the RTS we link
against vs the RTS we compile for.
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/cutils.c | 4 | ||||
-rw-r--r-- | compiler/parser/cutils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/parser/cutils.c b/compiler/parser/cutils.c index a1461763c0..fb7e3f7335 100644 --- a/compiler/parser/cutils.c +++ b/compiler/parser/cutils.c @@ -3,9 +3,9 @@ These utility routines are used various places in the GHC library. */ -#include "Rts.h" +#include <Rts.h> -#include "HsFFI.h" +#include <HsFFI.h> void enableTimingStats( void ) /* called from the driver */ diff --git a/compiler/parser/cutils.h b/compiler/parser/cutils.h index 009fffa86f..1d9104910d 100644 --- a/compiler/parser/cutils.h +++ b/compiler/parser/cutils.h @@ -4,7 +4,7 @@ * * -------------------------------------------------------------------------- */ -#include "HsFFI.h" +#include <HsFFI.h> void enableTimingStats( void ); void setHeapSize( HsInt size ); |