aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/string/memcpy.c
diff options
context:
space:
mode:
authorMarvin Borner2020-03-18 17:32:50 +0100
committerMarvin Borner2020-03-18 17:32:50 +0100
commitf495cc1e93710c233292a503720ec235a61b685c (patch)
tree23b0b4b82b6d80001c1ffdb15f00b93cbdc65722 /src/userspace/mlibc/string/memcpy.c
parentc6657aac0c5d5ecf347bc082cb6df38e1174d297 (diff)
Applied official linux kernel code style guidelines
Due to my change to vim and the clang-format plugin this was needed!
Diffstat (limited to 'src/userspace/mlibc/string/memcpy.c')
-rw-r--r--src/userspace/mlibc/string/memcpy.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/userspace/mlibc/string/memcpy.c b/src/userspace/mlibc/string/memcpy.c
index e4e9c76..eec798b 100644
--- a/src/userspace/mlibc/string/memcpy.c
+++ b/src/userspace/mlibc/string/memcpy.c
@@ -2,8 +2,9 @@
void *memcpy(void *dest, const void *src, size_t count)
{
- const char *sp = (const char *) src;
- char *dp = (char *) dest;
- for (; count != 0; count--) *dp++ = *sp++;
- return dest;
+ const char *sp = (const char *)src;
+ char *dp = (char *)dest;
+ for (; count != 0; count--)
+ *dp++ = *sp++;
+ return dest;
} \ No newline at end of file