#if !HAVE_INET_ATON
#include <stdlib.h>
-int ff_inet_aton(const char *str, struct in_addr *add)
+static int inet_aton(const char *str, struct in_addr *add)
{
unsigned int add1 = 0, add2 = 0, add3 = 0, add4 = 0;
return 1;
}
-#else
-int ff_inet_aton(const char *str, struct in_addr *add)
-{
- return inet_aton(str, add);
-}
#endif /* !HAVE_INET_ATON */
#if !HAVE_GETADDRINFO
sin->sin_family = AF_INET;
if (node) {
- if (!ff_inet_aton(node, &sin->sin_addr)) {
+ if (!inet_aton(node, &sin->sin_addr)) {
if (hints && (hints->ai_flags & AI_NUMERICHOST)) {
av_free(sin);
return EAI_FAIL;