[RFC,10/10] hurd: Regenerate errno.h

Message ID 20230517191436.73636-11-bugaevc@gmail.com
State Rejected, archived
Headers
Series Stack setup & misc fixes for x86_64-gnu |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Sergey Bugaev May 17, 2023, 7:14 p.m. UTC
  Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
My build keeps insisting that stdc-predef.h should be next to sysdeps and
sys/cdefs.h; maybe it's right? If not, how do I stop it from changing?

 sysdeps/mach/hurd/bits/errno.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Joseph Myers May 17, 2023, 7:39 p.m. UTC | #1
On Wed, 17 May 2023, Sergey Bugaev via Libc-alpha wrote:

> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
> My build keeps insisting that stdc-predef.h should be next to sysdeps and
> sys/cdefs.h; maybe it's right? If not, how do I stop it from changing?

I suggest changing the generator code not to put this list in the file at 
all.
  
Samuel Thibault May 17, 2023, 9:04 p.m. UTC | #2
Joseph Myers, le mer. 17 mai 2023 19:39:23 +0000, a ecrit:
> On Wed, 17 May 2023, Sergey Bugaev via Libc-alpha wrote:
> 
> > Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> > ---
> > My build keeps insisting that stdc-predef.h should be next to sysdeps and
> > sys/cdefs.h; maybe it's right? If not, how do I stop it from changing?
> 
> I suggest changing the generator code not to put this list in the file at 
> all.

Yes, if it poses problem we can just rule it out.

Samuel
  

Patch

diff --git a/sysdeps/mach/hurd/bits/errno.h b/sysdeps/mach/hurd/bits/errno.h
index a0794f96..080daebe 100644
--- a/sysdeps/mach/hurd/bits/errno.h
+++ b/sysdeps/mach/hurd/bits/errno.h
@@ -1,6 +1,5 @@ 
 /* This file generated by errnos.awk from
      errno.texi
-     stdc-predef.h
      libc-symbols.h
      mach/message.h
      mach/kern_return.h
@@ -12,6 +11,7 @@ 
      features.h
      features-time64.h
      ../sysdeps/generic/features-time64.h
+     stdc-predef.h
      sys/cdefs.h
      ../misc/sys/cdefs.h
      ../sysdeps/x86/bits/wordsize.h