authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-28 15:53:48+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-29 05:44:38+02:00
logbb1f225bc8db6fe565f7e39714ef3565cf1b6e0a
tree96749e642e39f7e33bb645f8cc611c4815e452e0
parent1a2c47a504c7f549328689201305514831de7513

libc: backport glibc header fix to avoid __unused

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=243bdfec8f7cd4a85a8ce6e4e9a5a5accd3ce1aa;hp=ad9784419e274cef9ba7152d7cd2490d291f837b

4 files changed, 8 insertions(+), 8 deletions(-)

lib/libc/include/powerpc-linux-gnu/bits/struct_mutex.h+2-2
......@@ -32,7 +32,7 @@ struct __pthread_mutex_s
3232 int __kind;
3333#if __WORDSIZE == 64
3434 short __spins;
35 short __unused;
35 short __glibc_reserved;
3636 __pthread_list_t __list;
3737# define __PTHREAD_MUTEX_HAVE_PREV 1
3838#else
......@@ -59,4 +59,4 @@ struct __pthread_mutex_s
5959 0, 0, 0, __kind, 0, { { 0, 0 } }
6060#endif
6161
62#endif
\ No newline at end of file
62#endif
lib/libc/include/s390x-linux-gnu/bits/fenv.h+2-2
......@@ -76,7 +76,7 @@ typedef unsigned int fexcept_t; /* size of fpc */
7676typedef struct
7777{
7878 fexcept_t __fpc;
79 void *__unused;
79 void *__glibc_reserved;
8080 /* The field __unused (formerly __ieee_instruction_pointer) is a relict from
8181 commit "Remove PTRACE_PEEKUSER" (87b9b50f0d4b92248905e95a06a13c513dc45e59)
8282 and isn't used anymore. */
......@@ -96,4 +96,4 @@ typedef unsigned int femode_t;
9696
9797/* Default floating-point control modes. */
9898# define FE_DFL_MODE ((const femode_t *) -1L)
99#endif
\ No newline at end of file
99#endif
lib/libc/include/s390x-linux-gnu/bits/struct_mutex.h+2-2
......@@ -32,7 +32,7 @@ struct __pthread_mutex_s
3232 int __kind;
3333#if __WORDSIZE == 64
3434 short __spins;
35 short __unused;
35 short __glibc_reserved;
3636 __pthread_list_t __list;
3737# define __PTHREAD_MUTEX_HAVE_PREV 1
3838#else
......@@ -59,4 +59,4 @@ struct __pthread_mutex_s
5959 0, 0, 0, __kind, 0, { { 0, 0 } }
6060#endif
6161
62#endif
\ No newline at end of file
62#endif
lib/libc/include/x86-linux-gnu/bits/struct_mutex.h+2-2
......@@ -32,7 +32,7 @@ struct __pthread_mutex_s
3232 int __kind;
3333#ifdef __x86_64__
3434 short __spins;
35 short __unused;
35 short __glibc_reserved;
3636 __pthread_list_t __list;
3737# define __PTHREAD_MUTEX_HAVE_PREV 1
3838#else
......@@ -59,4 +59,4 @@ struct __pthread_mutex_s
5959 0, 0, 0, __kind, 0, { { 0, 0 } }
6060#endif
6161
62#endif
\ No newline at end of file
62#endif