From 2cb76fa96af6ce6c54485e9503347d75c2b698b7 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Thu, 11 May 2023 16:51:18 -0700 Subject: [PATCH] Py_ALWAYS_INLINE needs a static inline function --- Objects/obmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index de62aeb04461fa..090129fe8653f2 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -882,7 +882,7 @@ _Py_GetGlobalAllocatedBlocks(void) /* Return a pointer to a bottom tree node, return NULL if it doesn't exist or * it cannot be created */ -static Py_ALWAYS_INLINE arena_map_bot_t * +static inline Py_ALWAYS_INLINE arena_map_bot_t * arena_map_get(OMState *state, pymem_block *p, int create) { #ifdef USE_INTERIOR_NODES