From: Adhemerval Zanella Date: Tue, 18 Nov 2025 16:00:19 +0000 (-0300) Subject: nptl: Replace FALLTHROUGH with [[fallthrough]] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e92c95123a0fafee9f35714697986a48fc087d;p=thirdparty%2Fglibc.git nptl: Replace FALLTHROUGH with [[fallthrough]] The b9579342c6 reinstate '/* FALLTHROUGH */' that were replaced the the C23 [[fallthrough]] by 970364dac0. --- 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. */