mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Use JEMALLOC_INLINE_C everywhere it's appropriate.
This commit is contained in:
@@ -16,14 +16,14 @@ static ctl_stats_t ctl_stats;
|
||||
/******************************************************************************/
|
||||
/* Helpers for named and indexed nodes. */
|
||||
|
||||
static inline const ctl_named_node_t *
|
||||
JEMALLOC_INLINE_C const ctl_named_node_t *
|
||||
ctl_named_node(const ctl_node_t *node)
|
||||
{
|
||||
|
||||
return ((node->named) ? (const ctl_named_node_t *)node : NULL);
|
||||
}
|
||||
|
||||
static inline const ctl_named_node_t *
|
||||
JEMALLOC_INLINE_C const ctl_named_node_t *
|
||||
ctl_named_children(const ctl_named_node_t *node, int index)
|
||||
{
|
||||
const ctl_named_node_t *children = ctl_named_node(node->children);
|
||||
@@ -31,7 +31,7 @@ ctl_named_children(const ctl_named_node_t *node, int index)
|
||||
return (children ? &children[index] : NULL);
|
||||
}
|
||||
|
||||
static inline const ctl_indexed_node_t *
|
||||
JEMALLOC_INLINE_C const ctl_indexed_node_t *
|
||||
ctl_indexed_node(const ctl_node_t *node)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user