From bb57b124d1bb385d41747f50be7dd4f3625539c1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 24 Nov 2019 23:34:32 +0100 Subject: Major coding style reformatting -> Kernighan & Ritchie This project now (hopefully) uses the same style recommended by Kernighan and Ritchie and used in the Linux Kernel --- src/mlibc/string/strcat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mlibc/string/strcat.c') diff --git a/src/mlibc/string/strcat.c b/src/mlibc/string/strcat.c index 3cc56f1..0448430 100644 --- a/src/mlibc/string/strcat.c +++ b/src/mlibc/string/strcat.c @@ -1,6 +1,7 @@ #include -void strcat(char *dest, const char *orig) { +void strcat(char *dest, const char *orig) +{ size_t s_dest = strlen(dest); size_t s_orig = strlen(orig); -- cgit v1.2.3