URL
https://opencores.org/ocsvn/plasma/plasma/trunk
Subversion Repositories plasma
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 398 to Rev 399
- ↔ Reverse comparison
Rev 398 → Rev 399
/plasma/trunk/kernel/libc.c
54,9 → 54,9
{ |
int c=1; |
char *dstSave=dst; |
while(*dst && --count > 0) |
while(*dst) |
++dst; |
while(--count > 0 && c) |
while(--count >= 0 && c) |
c = *dst++ = *src++; |
*dst = 0; |
return dstSave; |
183,6 → 183,7
} |
|
|
#ifndef _LIBC |
static uint32 Rand1=0x1f2bcda3; |
int rand(void) |
{ |
402,6 → 403,7
} |
} |
} |
#endif //_LIBC |
|
|
#ifdef INCLUDE_DUMP |