Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor inet_ntop and inet_pton #118

Merged
merged 3 commits into from
Jun 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sa/ntop/pton: remove HAVE_INET_NTOP and HAVE_INET_PTON
  • Loading branch information
sreimers committed Jun 23, 2021

Verified

This commit was signed with the committer’s verified signature.
sanjayankur31 Ankur Sinha
commit 1a48ef601d34712a0515822db2835c32bdde5cb5
9 changes: 0 additions & 9 deletions mk/re.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions src/sa/mod.mk
Original file line number Diff line number Diff line change
@@ -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