diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-29 12:40:28 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-31 11:09:41 +0900 |
commit | b54e98ef8e627e0352ac137e57213cc219c231d7 (patch) | |
tree | ffff6d222f98c5be36aa4654abee1c18756b545b /src/basic/socket-util.h | |
parent | 2d1729ca3ff7d8ee51b12711411d15c3e22b9148 (diff) | |
download | systemd-b54e98ef8e627e0352ac137e57213cc219c231d7.tar.gz |
socket-util: rename parse_socket_address_bind_ipv6_only_or_bool() to socket_address_bind_ipv6_only_or_bool_from_string()
Hence, we can define config_parse_socket_bind() by using
DEFINE_CONFIG_PARSE_ENUM() macro.
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r-- | src/basic/socket-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index c2b6107f49..9cd7f9ec54 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -116,7 +116,7 @@ int socknameinfo_pretty(union sockaddr_union *sa, socklen_t salen, char **_ret); const char* socket_address_bind_ipv6_only_to_string(SocketAddressBindIPv6Only b) _const_; SocketAddressBindIPv6Only socket_address_bind_ipv6_only_from_string(const char *s) _pure_; -SocketAddressBindIPv6Only parse_socket_address_bind_ipv6_only_or_bool(const char *s); +SocketAddressBindIPv6Only socket_address_bind_ipv6_only_or_bool_from_string(const char *s); int netlink_family_to_string_alloc(int b, char **s); int netlink_family_from_string(const char *s) _pure_; |