]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104409)
authorBrandt Bucher <brandtbucher@microsoft.com>
Fri, 12 May 2023 21:26:54 +0000 (14:26 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 21:26:54 +0000 (14:26 -0700)
Objects/obmalloc.c

index de62aeb04461fab1fc68e08c658301cf1e6b7ed1..090129fe8653f252ee537787892083681fdea0cb 100644 (file)
@@ -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