From 493b9c49afccd233c171f33ea28ea2fb4ed599ba Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 7 Apr 2025 17:05:02 +0200 Subject: [PATCH] bitlock: mark g_futex_int_address() as G_ALWAYS_INLINE It probably would get inlined anyway(?). But add G_ALWAYS_INLINE to be more sure about this. We don't want this mostly trivial function to be a separate call. --- glib/gbitlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gbitlock.c b/glib/gbitlock.c index ad36a13f3..9838144f6 100644 --- a/glib/gbitlock.c +++ b/glib/gbitlock.c @@ -469,7 +469,7 @@ g_bit_unlock_and_set (gint *address, * * g_futex_wake (g_futex_int_address (int_address)); */ -static const gint * +G_ALWAYS_INLINE static inline const gint * g_futex_int_address (const void *address) { const gint *int_address = address;