From 20e92c95123a0fafee9f35714697986a48fc087d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 18 Nov 2025 13:00:19 -0300 Subject: [PATCH] nptl: Replace FALLTHROUGH with [[fallthrough]] The b9579342c6 reinstate '/* FALLTHROUGH */' that were replaced the the C23 [[fallthrough]] by 970364dac0. --- nptl/pthread_mutex_timedlock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index 598c6a0710..0664e4f02b 100644 --- a/nptl/pthread_mutex_timedlock.c +++ b/nptl/pthread_mutex_timedlock.c @@ -76,8 +76,7 @@ __pthread_mutex_clocklock_common (pthread_mutex_t *mutex, /* Check whether we already hold the mutex. */ if (__glibc_unlikely (mutex->__data.__owner == id)) return EDEADLK; - - /* FALLTHROUGH */ + [[fallthrough]]; case PTHREAD_MUTEX_TIMED_NP: /* Normal mutex. */