summaryrefslogtreecommitdiffstats
path: root/src/core/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/string.c')
-rw-r--r--src/core/string.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/string.c b/src/core/string.c
index 040a77859..12d05d536 100644
--- a/src/core/string.c
+++ b/src/core/string.c
@@ -424,12 +424,7 @@ void * memset(void * s,int c,size_t count)
*/
char * bcopy(const char * src, char * dest, int count)
{
- char *tmp = dest;
-
- while (count--)
- *tmp++ = *src++;
-
- return dest;
+ return memmove(dest,src,count);
}
#endif