ip_to_string() was added to net-common.h but not removed from net-legacy.h in commit 9063dba2d326 ("net: net_utils: Move ip_to_string to lib/net_utils.c").
Fixes: 9063dba2d326 ("net: net_utils: Move ip_to_string to lib/net_utils.c") Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com> --- include/net-legacy.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/net-legacy.h b/include/net-legacy.h index ca1efd17af7..5a431fc6b16 100644 --- a/include/net-legacy.h +++ b/include/net-legacy.h @@ -502,9 +502,6 @@ static inline void net_copy_u32(void *to, void *from) memcpy((void *)to, (void *)from, sizeof(u32)); } -/* Convert an IP address to a string */ -void ip_to_string(struct in_addr x, char *s); - /** * string_to_ip() - Convert a string to ip address * -- 2.45.2