From: Mike Frysinger Date: Sat, 30 Jul 2005 08:54:43 +0000 (-0000) Subject: in order to make sure the INET6 prototypes are exported, we would have to include... X-Git-Tag: 1_1_0~862 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=14445fd9a1e75a84fdc1fb4085e97c4ca6152fbd;p=oweals%2Fbusybox.git in order to make sure the INET6 prototypes are exported, we would have to include the libbb.h header file ... but then we have to worry about including too early/etc... since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions --- diff --git a/include/inet_common.h b/include/inet_common.h index 4a9c3a2d7..afea5deaa 100644 --- a/include/inet_common.h +++ b/include/inet_common.h @@ -29,7 +29,5 @@ extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirs extern int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in, int numeric, unsigned int netmask); -#ifdef CONFIG_FEATURE_IPV6 extern int INET6_resolve(const char *name, struct sockaddr_in6 *sin6); extern int INET6_rresolve(char *name, size_t len, struct sockaddr_in6 *sin6, int numeric); -#endif