Apparently, on systems with glibc 2.2, "inet_aton()" is declared in
[obnox/wireshark/wip.git] / inet_v6defs.h
index 91e86ad8c4c4f8424aedda83801f096c5b502f28..2c686ca346b31da84dfbdfe9940e4372a70bdff5 100644 (file)
@@ -1,6 +1,6 @@
-/* inet_pton.h
+/* inet_v6defs.h
  *
- * $Id: inet_v6defs.h,v 1.2 2000/01/10 17:32:51 gram Exp $
+ * $Id: inet_v6defs.h,v 1.3 2000/07/14 07:11:53 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
  */
 
 /*
- * Version of "inet_pton()" and "inet_ntop()", for the benefit of OSes that
+ * Versions of "inet_pton()" and "inet_ntop()", for the benefit of OSes that
  * don't have it.
  */
 extern int inet_pton(int af, const char *src, void *dst);
 extern const char *inet_ntop(int af, const void *src, char *dst,
     size_t size);
 
-struct in_addr;
-extern int inet_aton(const char* cp_arg, struct in_addr *addr);
-
 /*
  * Those OSes may also not have AF_INET6, so declare it here if it's not
  * already declared, so that we can pass it to "inet_ntop()" and "inet_pton()".