diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 07:16:40 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:55:15 +0100 |
commit | b920ee9db254786ee909705d904ef509758afbdc (patch) | |
tree | 6fae30e3b738af8e9c6e38fc491c5560a122798a /net | |
parent | 722b061b6f6f3405118f2969272511e7e19990e3 (diff) | |
download | u-boot-imx-b920ee9db254786ee909705d904ef509758afbdc.zip u-boot-imx-b920ee9db254786ee909705d904ef509758afbdc.tar.gz u-boot-imx-b920ee9db254786ee909705d904ef509758afbdc.tar.bz2 |
copy_filename: constify "src" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1865,7 +1865,7 @@ NetSetIP(volatile uchar * xip, IPaddr_t dest, int dport, int sport, int len) ip->ip_sum = ~NetCksum((uchar *)ip, IP_HDR_SIZE_NO_UDP / 2); } -void copy_filename (char *dst, char *src, int size) +void copy_filename (char *dst, const char *src, int size) { if (*src && (*src == '"')) { ++src; |