Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Remove bogus tests for 64-bit i386 and SuperH



details:   https://anonhg.NetBSD.org/src/rev/2ccb606e1a2a
branches:  trunk
changeset: 934028:2ccb606e1a2a
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Jun 04 11:21:16 2020 +0000

description:
Remove bogus tests for 64-bit i386 and SuperH

diffstat:

 include/netdb.h |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r b748ae81ccc0 -r 2ccb606e1a2a include/netdb.h
--- a/include/netdb.h   Thu Jun 04 08:24:44 2020 +0000
+++ b/include/netdb.h   Thu Jun 04 11:21:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netdb.h,v 1.69 2013/08/19 07:18:42 christos Exp $      */
+/*     $NetBSD: netdb.h,v 1.70 2020/06/04 11:21:16 nia Exp $   */
 
 /*
  * ++Copyright++ 1980, 1983, 1988, 1993
@@ -162,13 +162,11 @@
        char            *n_name;        /*%< official name of net */
        char            **n_aliases;    /*%< alias list */
        int             n_addrtype;     /*%< net address type */
-#if (defined(__sparc__) && defined(_LP64)) || \
-    (defined(__sh__) && defined(_LP64) && (_BYTE_ORDER == _BIG_ENDIAN))
+#if defined(__sparc__) && defined(_LP64)
        int             __n_pad0;       /* ABI compatibility */
 #endif
        uint32_t        n_net;          /*%< network # */
-#if defined(__alpha__) || (defined(__i386__) && defined(_LP64)) || \
-    (defined(__sh__) && defined(_LP64) && (_BYTE_ORDER == _LITTLE_ENDIAN))
+#if defined(__alpha__)
        int             __n_pad0;       /* ABI compatibility */
 #endif
 };
@@ -208,7 +206,7 @@
        int             __ai_pad0;      /* ABI compatibility */
 #endif
        socklen_t        ai_addrlen;    /*%< length of ai_addr */
-#if defined(__alpha__) || (defined(__i386__) && defined(_LP64))
+#if defined(__alpha__)
        int             __ai_pad0;      /* ABI compatibility */
 #endif
        char            *ai_canonname;  /*%< canonical name for hostname */



Home | Main Index | Thread Index | Old Index