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/strdisp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/userspace/mlibc/string/strdisp.c') diff --git a/src/userspace/mlibc/string/strdisp.c b/src/userspace/mlibc/string/strdisp.c index 5d8ee7d..51c5a90 100644 --- a/src/userspace/mlibc/string/strdisp.c +++ b/src/userspace/mlibc/string/strdisp.c @@ -2,11 +2,13 @@ void strdisponce(char *str) { - for (size_t i = sizeof(str) + 2; i > 0; i--) str[i] = str[i - 1]; - str[0] = 0; + for (size_t i = sizeof(str) + 2; i > 0; i--) + str[i] = str[i - 1]; + str[0] = 0; } void strdisp(char *str, int n) { - for (int i = 0; i < n; i++) strdisponce(str); + for (int i = 0; i < n; i++) + strdisponce(str); } \ No newline at end of file -- cgit v1.2.3