This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Another missing prototype: inet6_isipv4mapped


>inet/in6_addr.c defines inet6_isipv4mapped but it's not in any
>header. 

I found out why this was added: it was required by an early draft of the IPv6 
Basic API.  The later revisions have dropped the function so we can get rid of 
it.  I've attached a patch.  Thanks for spotting this.

p.

1998-12-02  Philip Blundell  <pb@nexus.co.uk>

	* inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
	
--- libc/inet/in6_addr.c	1997/08/04 12:35:28	1.1.1.1
+++ libc/inet/in6_addr.c	1998/12/02 18:12:14
@@ -23,8 +23,3 @@
 { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
 const struct in6_addr in6addr_loopback =
 { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } };
-
-int inet6_isipv4mapped(const struct in6_addr *addr)
-{
-  return IN6_IS_ADDR_V4MAPPED(addr);
-}





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]