[PATCH v1 32/35] sysdeps/htl/pthread.h: Remove dead code
Alejandro Colomar
alx@kernel.org
Sun Nov 9 21:54:09 GMT 2025
<sys/cdefs.h> already defines these macros, so these conditionals never
define anything, AFAICS.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
sysdeps/htl/pthread.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h
index dcb78a2701..f79f329971 100644
--- a/sysdeps/htl/pthread.h
+++ b/sysdeps/htl/pthread.h
@@ -26,20 +26,6 @@
#include <features.h>
#include <sys/cdefs.h>
-#ifndef __extern_inline
-/* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
- inline semantics, unless -fgnu89-inline is used. */
-# if !defined __cplusplus || __GNUC_PREREQ (4,3)
-# define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
-# if __GNUC_PREREQ (4,3)
-# define __extern_always_inline \
- extern __always_inline __attribute__ ((__gnu_inline__, __artificial__))
-# else
-# define __extern_always_inline \
- extern __always_inline __attribute__ ((__gnu_inline__))
-# endif
-# endif
-#endif
#include <sched.h>
#include <time.h>
--
2.51.0
More information about the Libc-alpha
mailing list