Fixes bug
3531813
inet_aton isn't used at all in the codebase
extern int flock (int, int);
#endif
-#ifndef HAVE_INET_ATON
-struct in_addr;
-extern int inet_aton(const char *, struct in_addr *);
-#endif
-
#ifndef HAVE_STRNLEN
extern size_t strnlen(const char *s, size_t n);
#endif
+++ /dev/null
-/*
- * $Id: inet_aton.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
-
-#include <sys/types.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
-#if defined(ultrix) || (defined(sun) && defined(__svr4__))
-#ifndef INADDR_NONE
-#define INADDR_NONE ((unsigned) 0xffffffff)
-#endif /* ! INADDR_NONE */
-
-int inet_aton(const char *name, struct in_addr *addr)
-{
- if ((addr->s_addr = inet_addr(name)) == htonl(INADDR_NONE))
- return 0;
-
- return 1;
-}
-#endif /* ultrix || ( sun && __svr4__ ) */