diff options
author | daniel@phasevelocity.org <unknown> | 2008-08-22 06:21:36 +0000 |
---|---|---|
committer | daniel@phasevelocity.org <unknown> | 2008-08-22 06:21:36 +0000 |
commit | 26133989f1362077cc1deac80880279a8a306a39 (patch) | |
tree | c2b960014fe1e64990f58f85e35057428d199f2c /rts/sm | |
parent | c4ec8f2a77894af1c6160c4e8ad5625ab62f0bea (diff) | |
download | haskell-26133989f1362077cc1deac80880279a8a306a39.tar.gz |
Add extern flag to avoid multiple symbol errors on Mac os X
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/BlockAlloc.h | 4 | ||||
-rw-r--r-- | rts/sm/GC.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h index 2d777f7cae..594135ac56 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -16,7 +16,7 @@ extern void checkFreeListSanity(void); nat countFreeList(void); #endif -lnat n_alloc_blocks; // currently allocated blocks -lnat hw_alloc_blocks; // high-water allocated blocks +extern lnat n_alloc_blocks; // currently allocated blocks +extern lnat hw_alloc_blocks; // high-water allocated blocks #endif /* BLOCK_ALLOC_H */ diff --git a/rts/sm/GC.h b/rts/sm/GC.h index 913df24e2e..5e2e3a5749 100644 --- a/rts/sm/GC.h +++ b/rts/sm/GC.h @@ -39,7 +39,7 @@ extern SpinLock gc_alloc_block_sync; #endif #if defined(PROF_SPIN) && defined(THREADED_RTS) -StgWord64 whitehole_spin; +extern StgWord64 whitehole_spin; #endif #define WORK_UNIT_WORDS 128 |