]> Zhao Yanbai Git Server - minix.git/commitdiff
Added prototype for inet_aton.
authorPhilip Homburg <philip@cs.vu.nl>
Thu, 22 Jun 2006 11:45:59 +0000 (11:45 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Thu, 22 Jun 2006 11:45:59 +0000 (11:45 +0000)
include/arpa/inet.h

index 80e019fb30ec653e555f6a292aecdc70a8664ede..4ae82935e7654bc9670f9e0a20ba02390641c863 100644 (file)
@@ -30,4 +30,9 @@ _PROTOTYPE( char *inet_ntoa, (struct in_addr _in)                     );
 _PROTOTYPE( uint32_t ntohl, (uint32_t _netval)                         );
 _PROTOTYPE( uint16_t ntohs, (uint16_t _netval)                         );
 
+#ifdef _MINIX
+/* Additional functions */
+_PROTOTYPE( int inet_aton, (const char *_cp, struct in_addr *_pin)     );
+#endif
+
 #endif /* _ARPA__INET_H */