Source-Changes-HG archive

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

[src/netbsd-1-6]: src/include Pull up revision 1.27 (requested by itojun in t...



details:   https://anonhg.NetBSD.org/src/rev/0e9ddbcade8b
branches:  netbsd-1-6
changeset: 529041:0e9ddbcade8b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Aug 27 09:29:24 2002 +0000

description:
Pull up revision 1.27 (requested by itojun in ticket #730):
remove unused/unsupported AI_xx.  notified by PR 18072

diffstat:

 include/netdb.h |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (31 lines):

diff -r fe6d6f195d7f -r 0e9ddbcade8b include/netdb.h
--- a/include/netdb.h   Tue Aug 27 09:27:47 2002 +0000
+++ b/include/netdb.h   Tue Aug 27 09:29:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netdb.h,v 1.25.2.1 2002/05/25 18:18:55 thorpej Exp $   */
+/*     $NetBSD: netdb.h,v 1.25.2.2 2002/08/27 09:29:24 lukem Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -233,21 +233,6 @@
 #endif
 
 #if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
-#define        AI_ALL          0x00000100 /* IPv6 and IPv4-mapped (with AI_V4MAPPED) */
-#endif
-#if !defined(_XOPEN_SOURCE)
-#define        AI_V4MAPPED_CFG 0x00000200 /* accept IPv4-mapped if kernel supports */
-#endif
-#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
-#define        AI_ADDRCONFIG   0x00000400 /* only if any address is assigned */
-#define        AI_V4MAPPED     0x00000800 /* accept IPv4-mapped IPv6 address */
-#endif
-#if !defined(_XOPEN_SOURCE)
-/* special recommended flags for getipnodebyname */
-#define        AI_DEFAULT      (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
-#endif
-
-#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
 /*
  * Constants for getnameinfo()
  */



Home | Main Index | Thread Index | Old Index