mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
copy_filename: constify "src" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
722b061b6f
commit
b920ee9db2
2 changed files with 2 additions and 2 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue