summaryrefslogtreecommitdiff
path: root/userland/libc/string/memcpy.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-10-03 15:08:45 +0200
committerAnton Kling <anton@kling.gg>2024-10-03 15:08:45 +0200
commit226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f (patch)
treed900c3437d3d65ee7bd88474586dc6dd947b14ce /userland/libc/string/memcpy.c
parent64b0b49a1f23da9faa680f8158cb8a12cd4d118c (diff)
libc: small changes
Diffstat (limited to 'userland/libc/string/memcpy.c')
-rw-r--r--userland/libc/string/memcpy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/userland/libc/string/memcpy.c b/userland/libc/string/memcpy.c
index 7c86b3a..7a9f01e 100644
--- a/userland/libc/string/memcpy.c
+++ b/userland/libc/string/memcpy.c
@@ -12,7 +12,6 @@ void *memcpy(void *dest, const void *src, uint32_t n) {
for (; n >= 2; n -= 2, d += 2, s += 2)
*(uint16_t *)d = *(uint16_t *)s;
-
for (; n; n--)
*d++ = *s++;
return dest;