summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-04-15 16:24:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-15 16:26:07 +0200
commit158294a49aade9fde1000dd5403f40d0f15d64e3 (patch)
tree94250a225aca43ed7ecb804f79d2f47d3e3d96d7 /include
parent980ac3e7b1cc9b6cbb4dfdc7eb69c64133fdd5bb (diff)
downloadbarebox-158294a49aade9fde1000dd5403f40d0f15d64e3.tar.gz
net: remove unused getenv_ip_dns
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/net.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net.h b/include/net.h
index 01e4b22..25d7b6e 100644
--- a/include/net.h
+++ b/include/net.h
@@ -279,11 +279,7 @@ char *ip_to_string (IPaddr_t x);
/* Convert a string to ip address */
int string_to_ip(const char *s, IPaddr_t *ip);
-IPaddr_t getenv_ip_dns(const char *name, int dns);
-static inline IPaddr_t getenv_ip(const char *name)
-{
- return getenv_ip_dns(name, 0);
-}
+IPaddr_t getenv_ip(const char *name);
int setenv_ip(const char *name, IPaddr_t ip);
int string_to_ethaddr(const char *str, char *enetaddr);