summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2023-03-07 21:44:03 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-03-08 15:02:31 -0500
commit7bcb192b8a2beea171fd49907c92461fa31acac8 (patch)
tree0316dc457114e83926c0424cb000c6c153e448af /rts
parent0af21dfa1b50e618df4dd4e4f7be6e0e2c9aac25 (diff)
downloadhaskell-7bcb192b8a2beea171fd49907c92461fa31acac8.tar.gz
rts: Fix incorrect STATIC_INLINE
This should be INLINE_HEADER lest we get unused declaration warnings.
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/Storage.h2
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);
}