From: H.J. Lu Date: Fri, 22 Aug 2025 02:29:58 +0000 (-0700) Subject: x86: Remove an extra space before THREAD_SELF X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb7fb0f1a7e1a1de6a15161a726e34a2017ac970;p=thirdparty%2Fglibc.git x86: Remove an extra space before THREAD_SELF After f6dd43d5f7 i386: Remove stalled __GNUC_PREREQ (6, 0) test in THREAD_SELF() b0f0c41a5f x86_64: Remove stalled __GNUC_PREREQ (6, 0) test in THREAD_SELF() removed the unnecessary __GNUC_PREREQ (6, 0) test, remove the extra space before THREAD_SELF macro name. Signed-off-by: H.J. Lu --- diff --git a/sysdeps/i386/nptl/tls.h b/sysdeps/i386/nptl/tls.h index d01bc3ac9e..35202b0964 100644 --- a/sysdeps/i386/nptl/tls.h +++ b/sysdeps/i386/nptl/tls.h @@ -222,7 +222,7 @@ tls_fill_user_desc (union user_desc_init *desc, /* Return the thread descriptor for the current thread. */ -# define THREAD_SELF \ +# define THREAD_SELF \ (*(struct pthread *__seg_gs *) offsetof (struct pthread, header.self)) /* Magic for libthread_db to know how to do THREAD_SELF. */ diff --git a/sysdeps/x86_64/nptl/tls.h b/sysdeps/x86_64/nptl/tls.h index 29b028cdcd..683f8bfdfc 100644 --- a/sysdeps/x86_64/nptl/tls.h +++ b/sysdeps/x86_64/nptl/tls.h @@ -169,7 +169,7 @@ _Static_assert (offsetof (tcbhead_t, __glibc_unused2) == 0x80, /* Return the thread descriptor for the current thread. */ -# define THREAD_SELF \ +# define THREAD_SELF \ (*(struct pthread *__seg_fs *) offsetof (struct pthread, header.self)) /* Magic for libthread_db to know how to do THREAD_SELF. */