From 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f Mon Sep 17 00:00:00 2001 From: Anton Kling <anton@kling.gg> Date: Thu, 3 Oct 2024 15:08:45 +0200 Subject: libc: small changes --- userland/libc/string/memcpy.c | 1 - 1 file changed, 1 deletion(-) (limited to 'userland/libc/string/memcpy.c') 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; -- cgit v1.2.3