From f495cc1e93710c233292a503720ec235a61b685c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 18 Mar 2020 17:32:50 +0100 Subject: Applied official linux kernel code style guidelines Due to my change to vim and the clang-format plugin this was needed! --- src/userspace/mlibc/string/memset.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/userspace/mlibc/string/memset.c') diff --git a/src/userspace/mlibc/string/memset.c b/src/userspace/mlibc/string/memset.c index fb5ab80..1d9bec1 100644 --- a/src/userspace/mlibc/string/memset.c +++ b/src/userspace/mlibc/string/memset.c @@ -2,7 +2,8 @@ void *memset(void *dest, char val, size_t count) { - char *temp = (char *) dest; - for (; count != 0; count--) *temp++ = val; - return dest; + char *temp = (char *)dest; + for (; count != 0; count--) + *temp++ = val; + return dest; } \ No newline at end of file -- cgit v1.2.3