diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-07-23 05:11:59 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-08-09 15:11:58 -0400 |
commit | fc350dba63da7eefbaa2793fe9fe99f8571b75c0 (patch) | |
tree | a607a0c9ddc2d051cc282d29a9285fbb8aa347e3 /rts/sm | |
parent | db7098fe7aa3f7324d146821334b774032ea87bd (diff) | |
download | haskell-fc350dba63da7eefbaa2793fe9fe99f8571b75c0.tar.gz |
Make `PosixSource.h` installed and under `rts/`
is used outside of the rts so we do this rather than just fish it out of
the repo in ad-hoc way, in order to make packages in this repo more
self-contained.
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/BlockAlloc.c | 2 | ||||
-rw-r--r-- | rts/sm/CNF.c | 2 | ||||
-rw-r--r-- | rts/sm/Compact.c | 2 | ||||
-rw-r--r-- | rts/sm/Evac.c | 2 | ||||
-rw-r--r-- | rts/sm/GC.c | 2 | ||||
-rw-r--r-- | rts/sm/GCAux.c | 2 | ||||
-rw-r--r-- | rts/sm/GCUtils.c | 2 | ||||
-rw-r--r-- | rts/sm/MBlock.c | 2 | ||||
-rw-r--r-- | rts/sm/MarkWeak.c | 2 | ||||
-rw-r--r-- | rts/sm/Sanity.c | 2 | ||||
-rw-r--r-- | rts/sm/Scav.c | 2 | ||||
-rw-r--r-- | rts/sm/Storage.c | 6 | ||||
-rw-r--r-- | rts/sm/Sweep.c | 2 |
13 files changed, 15 insertions, 15 deletions
diff --git a/rts/sm/BlockAlloc.c b/rts/sm/BlockAlloc.c index 6e67f2cc8d..180a06f33e 100644 --- a/rts/sm/BlockAlloc.c +++ b/rts/sm/BlockAlloc.c @@ -15,7 +15,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "Storage.h" diff --git a/rts/sm/CNF.c b/rts/sm/CNF.c index bfe6493cfa..25c50adcc3 100644 --- a/rts/sm/CNF.c +++ b/rts/sm/CNF.c @@ -10,7 +10,7 @@ #define _GNU_SOURCE -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "RtsUtils.h" diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c index b1250b77e0..43867343fc 100644 --- a/rts/sm/Compact.c +++ b/rts/sm/Compact.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "GCThread.h" diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c index ea40563499..0e0e887b1e 100644 --- a/rts/sm/Evac.c +++ b/rts/sm/Evac.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "Evac.h" diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 21b7b17f0d..90a5164414 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "HsFFI.h" diff --git a/rts/sm/GCAux.c b/rts/sm/GCAux.c index 55b4f99596..f0e18a5ca5 100644 --- a/rts/sm/GCAux.c +++ b/rts/sm/GCAux.c @@ -7,7 +7,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "GC.h" diff --git a/rts/sm/GCUtils.c b/rts/sm/GCUtils.c index 52ea27f263..627c95fb42 100644 --- a/rts/sm/GCUtils.c +++ b/rts/sm/GCUtils.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "BlockAlloc.h" diff --git a/rts/sm/MBlock.c b/rts/sm/MBlock.c index 344bd3f0e9..ffd4f41266 100644 --- a/rts/sm/MBlock.c +++ b/rts/sm/MBlock.c @@ -8,7 +8,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "RtsUtils.h" diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c index 379e3aaa80..2d4482501a 100644 --- a/rts/sm/MarkWeak.c +++ b/rts/sm/MarkWeak.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "MarkWeak.h" diff --git a/rts/sm/Sanity.c b/rts/sm/Sanity.c index ceb71c59ec..63ef9732dd 100644 --- a/rts/sm/Sanity.c +++ b/rts/sm/Sanity.c @@ -13,7 +13,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #if defined(DEBUG) /* whole file */ diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c index fe6dc4be54..b82eadd9cd 100644 --- a/rts/sm/Scav.c +++ b/rts/sm/Scav.c @@ -42,7 +42,7 @@ - scavenge_one() scavenges only stack frame SRTs ------------------------------------------------------------------------- */ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "Storage.h" diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 7d450a8931..5241494365 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -15,15 +15,15 @@ #if RTS_LINKER_USE_MMAP /* * On FreeBSD and Darwin, when _XOPEN_SOURCE is defined, MAP_ANONYMOUS is not - * exposed from <sys/mman.h>. Include <sys/mman.h> before "PosixSource.h". + * exposed from <sys/mman.h>. Include <sys/mman.h> before "rts/PosixSource.h". * - * Alternatively, we could drop "PosixSource.h" from this file, but for just + * Alternatively, we could drop "rts/PosixSource.h" from this file, but for just * one non-POSIX macro, that seems a needless price to pay. */ #include <sys/mman.h> #endif -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "Storage.h" diff --git a/rts/sm/Sweep.c b/rts/sm/Sweep.c index d6634dcb16..2278e57f40 100644 --- a/rts/sm/Sweep.c +++ b/rts/sm/Sweep.c @@ -11,7 +11,7 @@ * * ---------------------------------------------------------------------------*/ -#include "PosixSource.h" +#include "rts/PosixSource.h" #include "Rts.h" #include "BlockAlloc.h" |