Source-Changes-HG archive

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

[src/trunk]: src/include Remove already #if 0'ed getipnode*() prototypes and ...



details:   https://anonhg.NetBSD.org/src/rev/10dbbfa32506
branches:  trunk
changeset: 579547:10dbbfa32506
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Mar 17 10:16:14 2005 +0000

description:
Remove already #if 0'ed getipnode*() prototypes and related definitions;
we are not going to ship those.

diffstat:

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

diffs (40 lines):

diff -r 4f164f97d87b -r 10dbbfa32506 include/netdb.h
--- a/include/netdb.h   Thu Mar 17 02:19:00 2005 +0000
+++ b/include/netdb.h   Thu Mar 17 10:16:14 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netdb.h,v 1.48 2005/02/03 04:39:32 perry Exp $ */
+/*     $NetBSD: netdb.h,v 1.49 2005/03/17 10:16:14 kleink Exp $        */
 
 /*
  * Copyright (c) 1980, 1983, 1988, 1993
@@ -256,16 +256,6 @@
 /* valid flags for addrinfo (not a standard def, apps should not use it) */
 #define        AI_MASK \
     (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV)
-
-#if 0
-/*
- * Flag values for getipnodebyname()
- */
-#define        AI_V4MAPPED     0x00000008
-#define        AI_ALL          0x00000010
-#define        AI_ADDRCONFIG   0x00000020
-#define        AI_DEFAULT      (AI_V4MAPPED|AI_ADDRCONFIG)
-#endif
 #endif
 
 #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \
@@ -313,13 +303,6 @@
 struct hostent *gethostbyname2(const char *, int);
 #endif
 struct hostent *gethostent(void);
-#if (_XOPEN_SOURCE - 0) >= 520 && (_XOPEN_SOURCE - 0) < 600 || \
-    defined(_NETBSD_SOURCE)
-#if 0 /* we do not ship these */
-struct hostent *getipnodebyaddr(const void *, size_t, int, int *);
-struct hostent *getipnodebyname(const char *, int, int, int *);
-#endif
-#endif
 struct netent  *getnetbyaddr(uint32_t, int);
 struct netent  *getnetbyname(const char *);
 struct netent  *getnetent(void);



Home | Main Index | Thread Index | Old Index