Subversion Repositories HelenOS

Rev

Rev 3731 | Rev 4473 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3731 Rev 3732
Line 185... Line 185...
185
}
185
}
186
 
186
 
187
/** Move memory block with possible overlapping. */
187
/** Move memory block with possible overlapping. */
188
void *memmove(void *dst, const void *src, size_t n)
188
void *memmove(void *dst, const void *src, size_t n)
189
{
189
{
-
 
190
    const uint8_t *sp;
190
    uint8_t *dp, *sp;
191
    uint8_t *dp;
191
 
192
 
192
    /* Nothing to do? */
193
    /* Nothing to do? */
193
    if (src == dst)
194
    if (src == dst)
194
        return dst;
195
        return dst;
195
 
196