| Index: fusl/src/stdio/setvbuf.c
|
| diff --git a/fusl/src/stdio/setvbuf.c b/fusl/src/stdio/setvbuf.c
|
| index 541a125ff124b1c1b5aa15949f0890a3d12c6f6b..4ab02becedc71a25b0bfc9492f71f6aff6a57ac9 100644
|
| --- a/fusl/src/stdio/setvbuf.c
|
| +++ b/fusl/src/stdio/setvbuf.c
|
| @@ -9,16 +9,15 @@
|
| * In the case of stderr where the preexisting buffer is length 1, it
|
| * is not possible to set line buffering or full buffering. */
|
|
|
| -int setvbuf(FILE *restrict f, char *restrict buf, int type, size_t size)
|
| -{
|
| - f->lbf = EOF;
|
| +int setvbuf(FILE* restrict f, char* restrict buf, int type, size_t size) {
|
| + f->lbf = EOF;
|
|
|
| - if (type == _IONBF)
|
| - f->buf_size = 0;
|
| - else if (type == _IOLBF)
|
| - f->lbf = '\n';
|
| + if (type == _IONBF)
|
| + f->buf_size = 0;
|
| + else if (type == _IOLBF)
|
| + f->lbf = '\n';
|
|
|
| - f->flags |= F_SVB;
|
| + f->flags |= F_SVB;
|
|
|
| - return 0;
|
| + return 0;
|
| }
|
|
|