Another missing prototype: inet6_isipv4mapped

Philip Blundell pb@nexus.co.uk
Wed Dec 2 10:14:00 GMT 1998


>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);
-}






More information about the Libc-hacker mailing list