Skip to content

Commit

Permalink
sa/ntop/pton: remove HAVE_INET_NTOP and HAVE_INET_PTON
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jun 23, 2021
1 parent 30a5c1b commit 1a48ef6
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 500 deletions.
9 changes: 0 additions & 9 deletions mk/re.mk
Original file line number Diff line number Diff line change
Expand Up @@ -555,20 +555,11 @@ ifneq ($(HAVE_SYSLOG),)
CFLAGS += -DHAVE_SYSLOG
endif

HAVE_INET_NTOP := 1

CFLAGS += -DHAVE_FORK

ifneq ($(HAVE_INET_NTOP),)
CFLAGS += -DHAVE_INET_NTOP
endif
CFLAGS += -DHAVE_PWD_H
ifneq ($(OS),darwin)
CFLAGS += -DHAVE_POLL # Darwin: poll() does not support devices
HAVE_INET_PTON := 1
endif
ifneq ($(HAVE_INET_PTON),)
CFLAGS += -DHAVE_INET_PTON
endif
CFLAGS += -DHAVE_SELECT -DHAVE_SELECT_H
CFLAGS += -DHAVE_SETRLIMIT
Expand Down
2 changes: 0 additions & 2 deletions src/sa/mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
# Copyright (C) 2010 Creytiv.com
#

SRCS += sa/ntop.c
SRCS += sa/printaddr.c
SRCS += sa/pton.c
SRCS += sa/sa.c
222 changes: 0 additions & 222 deletions src/sa/ntop.c

This file was deleted.

Loading

0 comments on commit 1a48ef6

Please sign in to comment.