public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Use IF_NAMESIZE rather than IFNAMSIZ
@ 2022-09-21  6:52 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-09-21  6:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51

commit c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Sep 21 08:51:50 2022 +0200

    hurd: Use IF_NAMESIZE rather than IFNAMSIZ
    
    The latter is not available without __USE_MISC.

Diff:
---
 sysdeps/mach/hurd/net/route.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index 7bbd94fb56..e7c276edf3 100644
--- a/sysdeps/mach/hurd/net/route.h
+++ b/sysdeps/mach/hurd/net/route.h
@@ -68,7 +68,7 @@ struct in6_rtmsg
 
 typedef struct ifrtreq
   {
-    char ifname[IFNAMSIZ];
+    char ifname[IF_NAMESIZE];
     in_addr_t rt_dest;
     in_addr_t rt_mask;
     in_addr_t rt_gateway;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-21  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  6:52 [glibc] hurd: Use IF_NAMESIZE rather than IFNAMSIZ Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).