Skip to content
Permalink
Browse files

Remove inet_ntop() compat code

 inet_ntop() is POSIX.1-2001, so compat code is unnecessary
  • Loading branch information
michaelortmann authored and vanosg committed Nov 27, 2019
1 parent ec5d204 commit ccc2fa3a48c16235b3cb83155bfabb83e3a81dd1
Showing with 3 additions and 263 deletions.
  1. +1 −1 configure.ac
  2. +2 −2 src/compat/Makefile.in
  3. +0 −1 src/compat/compat.h
  4. +0 −222 src/compat/inet_ntop.c
  5. +0 −37 src/compat/inet_ntop.h
@@ -111,7 +111,7 @@ AX_TYPE_SOCKLEN_T
AX_CREATE_STDINT_H([eggint.h])

# Checks for functions and their arguments.
AC_CHECK_FUNCS([clock dprintf getrandom getrusage inet_aton inet_ntop isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf])
AC_CHECK_FUNCS([clock dprintf getrandom getrusage inet_aton isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf])
AC_FUNC_SELECT_ARGTYPES
EGG_FUNC_B64_NTOP
EGG_FUNC_VPRINTF
@@ -17,8 +17,8 @@ STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @SSL_INCLUDES@ @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

OBJS = base64.o gethostbyname2.o in6.o inet_aton.o inet_ntop.o inet_pton.o \
snprintf.o strlcpy.o
OBJS = base64.o gethostbyname2.o in6.o inet_aton.o inet_pton.o snprintf.o \
strlcpy.o

doofus:
@echo ""
@@ -26,7 +26,6 @@
#include "base64.h"
#include "inet_aton.h"
#include "snprintf.h"
#include "inet_ntop.h"
#include "inet_pton.h"
#include "gethostbyname2.h"
#include "strlcpy.h"

This file was deleted.

This file was deleted.

0 comments on commit ccc2fa3

Please sign in to comment.
You can’t perform that action at this time.