Message ID | fd800046-5ecb-ebd5-4df1-29d4eb3d5433@redhat.com |
---|---|
State | New |
Headers | show |
Series | Fix header guard in sysdeps/mach/hurd/x86_64/vm_param.h | expand |
Applied, thanks! Samuel Joseph Myers, le mer. 09 oct. 2024 17:14:58 +0000, a ecrit: > GCC mainline produces a -Wheader-guard error building for x86_64-gnu. > Fix what seems to be incorrect macro naming in the #ifndef > conditional. > > Tested with build-many-glibc.py for x86_64-gnu (GCC mainline). > > diff --git a/sysdeps/mach/hurd/x86_64/vm_param.h b/sysdeps/mach/hurd/x86_64/vm_param.h > index 460445f49e..a6e63a3a1a 100644 > --- a/sysdeps/mach/hurd/x86_64/vm_param.h > +++ b/sysdeps/mach/hurd/x86_64/vm_param.h > @@ -15,7 +15,7 @@ > License along with the GNU C Library; if not, see > <https://www.gnu.org/licenses/>. */ > > -#ifndef _X86_86_VM_PARAM_H > +#ifndef _X86_64_VM_PARAM_H > #define _X86_64_VM_PARAM_H > > /* Arbitrary start of the brk. This is after usual binary and library mappings. */ > > -- > Joseph S. Myers > josmyers@redhat.com >
diff --git a/sysdeps/mach/hurd/x86_64/vm_param.h b/sysdeps/mach/hurd/x86_64/vm_param.h index 460445f49e..a6e63a3a1a 100644 --- a/sysdeps/mach/hurd/x86_64/vm_param.h +++ b/sysdeps/mach/hurd/x86_64/vm_param.h @@ -15,7 +15,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#ifndef _X86_86_VM_PARAM_H +#ifndef _X86_64_VM_PARAM_H #define _X86_64_VM_PARAM_H /* Arbitrary start of the brk. This is after usual binary and library mappings. */