1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-02 11:26:41 +01:00

Cleanup for GCC-4.x

This commit is contained in:
Wolfgang Denk
2005-10-13 16:45:02 +02:00
parent 17a8b276ba
commit 77ddac9480
201 changed files with 606 additions and 587 deletions

View File

@@ -78,9 +78,9 @@ static inline short inw(long addr)
static inline void *memcpy(void *dst, const void *src, unsigned int len)
{
void * ret = dst;
while (len-- > 0) *((char *)dst)++ = *((char *)src)++;
return ret;
char *ret = dst;
while (len-- > 0) *(ret)++ = *((char *)src)++;
return (void *)ret;
}
/* The EEPROM commands include the alway-set leading bit. */