summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:16:58 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:56:39 +0100
commit908c6b627f2c51f57db0dd3bff7b7577b14d0e71 (patch)
tree5386c3f09f384b2e76d9c0b9ba55e3bfd4e573b5 /include/net.h
parent2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe (diff)
downloadu-boot-imx-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.zip
u-boot-imx-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.tar.gz
u-boot-imx-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.tar.bz2
string_to_ip: constify "s" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index 5e3495b..95ef8ab 100644
--- a/include/net.h
+++ b/include/net.h
@@ -514,7 +514,7 @@ static inline int is_valid_ether_addr(const u8 *addr)
extern void ip_to_string (IPaddr_t x, char *s);
/* Convert a string to ip address */
-extern IPaddr_t string_to_ip(char *s);
+extern IPaddr_t string_to_ip(const char *s);
/* Convert a VLAN id to a string */
extern void VLAN_to_string (ushort x, char *s);