commit | bb1ecce4edb871cec039b35c644179f0afc9396f | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Oct 20 07:16:58 2010 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Sun Nov 28 21:56:39 2010 +0100 |
tree | 5386c3f09f384b2e76d9c0b9ba55e3bfd4e573b5 | |
parent | 89c73929dbc00f9aa612c92dd78c1434d13a77b9 [diff] [blame] |
string_to_ip: constify "s" arg Signed-off-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/lib/net_utils.c b/lib/net_utils.c index f03b098..b425a68 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c
@@ -28,7 +28,7 @@ #include <common.h> -IPaddr_t string_to_ip(char *s) +IPaddr_t string_to_ip(const char *s) { IPaddr_t addr; char *e;