diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 07:16:58 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:56:39 +0100 |
commit | 908c6b627f2c51f57db0dd3bff7b7577b14d0e71 (patch) | |
tree | 5386c3f09f384b2e76d9c0b9ba55e3bfd4e573b5 /lib/net_utils.c | |
parent | 2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe (diff) | |
download | u-boot-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.zip u-boot-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.tar.gz u-boot-908c6b627f2c51f57db0dd3bff7b7577b14d0e71.tar.bz2 |
string_to_ip: constify "s" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib/net_utils.c')
-rw-r--r-- | lib/net_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |