nptl: Replace FALLTHROUGH with [[fallthrough]]
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 18 Nov 2025 16:00:19 +0000 (13:00 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 20 Nov 2025 17:23:43 +0000 (14:23 -0300)
The b9579342c6 reinstate '/* FALLTHROUGH */' that were replaced
the the C23 [[fallthrough]] by 970364dac0.

nptl/pthread_mutex_timedlock.c

index 598c6a07108d56d9323fe793d495224cd82adb94..0664e4f02be518980dd4f95272c2dce45fa1b819 100644 (file)
@@ -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.  */
This page took 0.112006 seconds and 5 git commands to generate.