diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-03-07 21:44:03 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-08 15:02:31 -0500 |
commit | 7bcb192b8a2beea171fd49907c92461fa31acac8 (patch) | |
tree | 0316dc457114e83926c0424cb000c6c153e448af | |
parent | 0af21dfa1b50e618df4dd4e4f7be6e0e2c9aac25 (diff) | |
download | haskell-7bcb192b8a2beea171fd49907c92461fa31acac8.tar.gz |
rts: Fix incorrect STATIC_INLINE
This should be INLINE_HEADER lest we get unused declaration warnings.
-rw-r--r-- | rts/sm/Storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Storage.h b/rts/sm/Storage.h index d3bd9a8dd3..42c56fe164 100644 --- a/rts/sm/Storage.h +++ b/rts/sm/Storage.h @@ -215,7 +215,7 @@ extern StgIndStatic * dyn_caf_list; extern StgIndStatic * debug_caf_list; extern StgIndStatic * revertible_caf_list; -STATIC_INLINE void clear_blocks(bdescr *bd) { +INLINE_HEADER void clear_blocks(bdescr *bd) { memset(bd->start, 0, BLOCK_SIZE * bd->blocks); } |