diff options
author | Marvin Borner | 2020-03-18 17:32:50 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-18 17:32:50 +0100 |
commit | f495cc1e93710c233292a503720ec235a61b685c (patch) | |
tree | 23b0b4b82b6d80001c1ffdb15f00b93cbdc65722 /src/kernel/lib/string/strlen.c | |
parent | c6657aac0c5d5ecf347bc082cb6df38e1174d297 (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/kernel/lib/string/strlen.c')
-rw-r--r-- | src/kernel/lib/string/strlen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kernel/lib/string/strlen.c b/src/kernel/lib/string/strlen.c index 77e3c00..9e7e448 100644 --- a/src/kernel/lib/string/strlen.c +++ b/src/kernel/lib/string/strlen.c @@ -2,7 +2,8 @@ size_t strlen(const char *str) { - size_t len = 0; - while (str[len]) len++; - return len; + size_t len = 0; + while (str[len]) + len++; + return len; }
\ No newline at end of file |