diff options
-rw-r--r-- | includes/rts/Types.h | 3 | ||||
-rw-r--r-- | testsuite/tests/rts/testblockalloc.c | 2 | ||||
-rw-r--r-- | testsuite/tests/rts/testheapalloced.c | 2 | ||||
-rw-r--r-- | testsuite/tests/rts/testmblockalloc.c | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/includes/rts/Types.h b/includes/rts/Types.h index 88d0b34906..1791b88772 100644 --- a/includes/rts/Types.h +++ b/includes/rts/Types.h @@ -18,9 +18,6 @@ typedef unsigned int nat; /* at least 32 bits (like int) */ -// Deprecated; just use StgWord instead -typedef StgWord lnat; - /* ullong (64|128-bit) type: only include if needed (not ANSI) */ #if defined(__GNUC__) #define LL(x) (x##LL) diff --git a/testsuite/tests/rts/testblockalloc.c b/testsuite/tests/rts/testblockalloc.c index b49ae00bac..bde81d31e5 100644 --- a/testsuite/tests/rts/testblockalloc.c +++ b/testsuite/tests/rts/testblockalloc.c @@ -11,7 +11,7 @@ const int MAXALLOC = ((8 * 1024 * 1024) / BLOCK_SIZE - 1); //const int MAXALLOC = ((64 * 1024 * 1024) / BLOCK_SIZE - 1); const int SEED = 0xf00f00; -extern lnat mblocks_allocated; +extern StgWord mblocks_allocated; int main (int argc, char *argv[]) { diff --git a/testsuite/tests/rts/testheapalloced.c b/testsuite/tests/rts/testheapalloced.c index 3d8fa05eb3..e827ae2208 100644 --- a/testsuite/tests/rts/testheapalloced.c +++ b/testsuite/tests/rts/testheapalloced.c @@ -21,7 +21,7 @@ const int MAXALLOC = ((8 * 1024 * 1024) / BLOCK_SIZE - 1); //const int MAXALLOC = ((4 * 1024 * 1024) / BLOCK_SIZE - 1); const int SEED = 0xf00f00; -extern lnat mblocks_allocated; +extern StgWord mblocks_allocated; int main (int argc, char *argv[]) { diff --git a/testsuite/tests/rts/testmblockalloc.c b/testsuite/tests/rts/testmblockalloc.c index df03658387..cbfd050342 100644 --- a/testsuite/tests/rts/testmblockalloc.c +++ b/testsuite/tests/rts/testmblockalloc.c @@ -9,7 +9,7 @@ const int ARRSIZE = 64; const int LOOPS = 1000; const int SEED = 0xf00f00; -extern lnat mblocks_allocated; +extern StgWord mblocks_allocated; int main (int argc, char *argv[]) { |