| Index: fusl/src/stdio/gets.c
|
| diff --git a/fusl/src/stdio/gets.c b/fusl/src/stdio/gets.c
|
| index 6c4645e5640b7b9d4df8387346a02122dfc0f5ea..0fc9e6af0c741f0c2d300217e20083f5c629908f 100644
|
| --- a/fusl/src/stdio/gets.c
|
| +++ b/fusl/src/stdio/gets.c
|
| @@ -2,9 +2,9 @@
|
| #include <limits.h>
|
| #include <string.h>
|
|
|
| -char *gets(char *s)
|
| -{
|
| - char *ret = fgets(s, INT_MAX, stdin);
|
| - if (ret && s[strlen(s)-1] == '\n') s[strlen(s)-1] = 0;
|
| - return ret;
|
| +char* gets(char* s) {
|
| + char* ret = fgets(s, INT_MAX, stdin);
|
| + if (ret && s[strlen(s) - 1] == '\n')
|
| + s[strlen(s) - 1] = 0;
|
| + return ret;
|
| }
|
|
|