]> git.ipfire.org Git - thirdparty/glibc.git/commit
Rename __unused fields to __glibc_reserved. master
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Feb 2026 16:06:48 +0000 (17:06 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 17 Feb 2026 16:06:48 +0000 (17:06 +0100)
commit243bdfec8f7cd4a85a8ce6e4e9a5a5accd3ce1aa
tree924d51687f6851a32ffbc7ef7707a555ee21fc20
parentad9784419e274cef9ba7152d7cd2490d291f837b
Rename __unused fields to __glibc_reserved.

__unused is often defined to __attribute__((unused)) in BSD
sources and furthermore libstdc++ testsuite uses it as a macro
to verify libstdc++ headers don't use __unused identifiers.
In ~2012 glibc headers have been cleaned up, but some new
uses of __unused have reappeared (s390 fenv.h already many
years ago, the rest last November).

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/powerpc/nptl/bits/struct_mutex.h
sysdeps/s390/fpu/bits/fenv.h
sysdeps/s390/nptl/bits/struct_mutex.h
sysdeps/x86/nptl/bits/struct_mutex.h