X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FBlockAlloc.h;fp=ghc%2Frts%2FBlockAlloc.h;h=a2c9b2b594d4c403309d8d20c4790358a7673522;hb=f6692611aad945e46ffb615bde1df7def3fc742f;hp=ab6b199740d11578b2178c2c42deb347521f3489;hpb=947d2e363f75e9e230d535c876ecdafba45174b5;p=ghc-hetmet.git diff --git a/ghc/rts/BlockAlloc.h b/ghc/rts/BlockAlloc.h index ab6b199..a2c9b2b 100644 --- a/ghc/rts/BlockAlloc.h +++ b/ghc/rts/BlockAlloc.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: BlockAlloc.h,v 1.5 1999/02/05 16:02:36 simonm Exp $ + * $Id: BlockAlloc.h,v 1.6 1999/11/02 15:05:56 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -26,7 +26,7 @@ extern void freeChain(bdescr *p); /* Finding the block descriptor for a given block -------------------------- */ -static inline bdescr *Bdescr(StgPtr p) +extern inline bdescr *Bdescr(StgPtr p) { return (bdescr *) ((((W_)p & MBLOCK_MASK & ~BLOCK_MASK) >> (BLOCK_SHIFT-BDESCR_SHIFT))