common: Move env_get_ip() to net.h
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:21 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:23:09 +0000 (18:23 -0500)
commit8d5babb45a051efb9ce4c9e06a693d72ee6cba5a
tree3318c13030cc4ae7c07874aebaf6df3445efd192
parent2189d5f1e8a2fd74ce52906999fd50c8f8330c81
common: Move env_get_ip() to net.h

This function relates to networking, so move it out of the common.h
header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/common.h
include/net.h