| Index: fusl/src/stdio/flockfile.c
|
| diff --git a/fusl/src/stdio/flockfile.c b/fusl/src/stdio/flockfile.c
|
| index a196c1efe0af11663f5e0537a0de1db02c3982ef..768bb52b6ebb100777dc033939a038e6cc56fa5d 100644
|
| --- a/fusl/src/stdio/flockfile.c
|
| +++ b/fusl/src/stdio/flockfile.c
|
| @@ -1,10 +1,10 @@
|
| #include "stdio_impl.h"
|
| #include "pthread_impl.h"
|
|
|
| -void flockfile(FILE *f)
|
| -{
|
| - while (ftrylockfile(f)) {
|
| - int owner = f->lock;
|
| - if (owner) __wait(&f->lock, &f->waiters, owner, 1);
|
| - }
|
| +void flockfile(FILE* f) {
|
| + while (ftrylockfile(f)) {
|
| + int owner = f->lock;
|
| + if (owner)
|
| + __wait(&f->lock, &f->waiters, owner, 1);
|
| + }
|
| }
|
|
|