summaryrefslogtreecommitdiff
path: root/src/shared/socket-netlink.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-05 17:12:06 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-10 00:46:44 +0200
commit222eaaf937d3d39beaea1878e04f20b1689834ec (patch)
tree12c9288f9d362f471e403e55128585540db8ab88 /src/shared/socket-netlink.h
parentc1f848d73c076527b617c132d7dd3cdb1699e2b8 (diff)
downloadsystemd-222eaaf937d3d39beaea1878e04f20b1689834ec.tar.gz
Get rid of in_addr_port_from_string_auto() again
With the commit "shared/socket-netlink: only allow ifindex if explicitly supported" this helper is not necessary anymore.
Diffstat (limited to 'src/shared/socket-netlink.h')
-rw-r--r--src/shared/socket-netlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/socket-netlink.h b/src/shared/socket-netlink.h
index d019bb31c6..e6cd7d9bf1 100644
--- a/src/shared/socket-netlink.h
+++ b/src/shared/socket-netlink.h
@@ -33,7 +33,6 @@ static inline int in_addr_ifindex_name_from_string_auto(const char *s, int *fami
static inline int in_addr_ifindex_from_string_auto(const char *s, int *family, union in_addr_union *ret, int *ifindex) {
return in_addr_ifindex_name_from_string_auto(s, family, ret, ifindex, NULL);
}
-int in_addr_port_from_string_auto(const char *s, int *ret_family, union in_addr_union *ret_address, uint16_t *ret_port);
struct in_addr_full {
int family;