mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
net: cosmetic: Change IPaddr_t to struct in_addr
This patch is simply clean-up to make the IPv4 type that is used match what Linux uses. It also attempts to move all variables that are IP addresses use good naming instead of CamelCase. No functional change. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2ea4cfdef6
commit
049a95a775
22 changed files with 362 additions and 336 deletions
|
@ -826,7 +826,7 @@ int zzip(void *dst, unsigned long *lenp, unsigned char *src,
|
|||
|
||||
/* lib/net_utils.c */
|
||||
#include <net.h>
|
||||
static inline IPaddr_t getenv_IPaddr(char *var)
|
||||
static inline struct in_addr getenv_ip(char *var)
|
||||
{
|
||||
return string_to_ip(getenv(var));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue