| Index: fusl/src/string/strncat.c
|
| diff --git a/fusl/src/string/strncat.c b/fusl/src/string/strncat.c
|
| index 01ca2a2317c6f29ecc1289e94b76b72c69698ea8..30f649986b122e8f86e6519debf4f6b851c9a0c9 100644
|
| --- a/fusl/src/string/strncat.c
|
| +++ b/fusl/src/string/strncat.c
|
| @@ -1,10 +1,10 @@
|
| #include <string.h>
|
|
|
| -char *strncat(char *restrict d, const char *restrict s, size_t n)
|
| -{
|
| - char *a = d;
|
| - d += strlen(d);
|
| - while (n && *s) n--, *d++ = *s++;
|
| - *d++ = 0;
|
| - return a;
|
| +char* strncat(char* restrict d, const char* restrict s, size_t n) {
|
| + char* a = d;
|
| + d += strlen(d);
|
| + while (n && *s)
|
| + n--, *d++ = *s++;
|
| + *d++ = 0;
|
| + return a;
|
| }
|
|
|