From: Philip Homburg Date: Thu, 22 Jun 2006 11:45:59 +0000 (+0000) Subject: Added prototype for inet_aton. X-Git-Tag: v3.1.3~302 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/Bv9ARM.ch07.html?a=commitdiff_plain;h=bd783b901f92f2e33bfb396d1325c0a4ef3a962c;p=minix.git Added prototype for inet_aton. --- diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 80e019fb3..4ae82935e 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -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 */