| Index: fusl/src/stdio/funlockfile.c
|
| diff --git a/fusl/src/stdio/funlockfile.c b/fusl/src/stdio/funlockfile.c
|
| index 30a07ef4b37433d46ec5ef44e9c67001a5841e7e..6c58b4b74f72dcceca0f2bef96bd2beea0c830d3 100644
|
| --- a/fusl/src/stdio/funlockfile.c
|
| +++ b/fusl/src/stdio/funlockfile.c
|
| @@ -1,15 +1,14 @@
|
| #include "stdio_impl.h"
|
| #include "pthread_impl.h"
|
|
|
| -void __unlist_locked_file(FILE *);
|
| +void __unlist_locked_file(FILE*);
|
|
|
| -void funlockfile(FILE *f)
|
| -{
|
| - if (f->lockcount == 1) {
|
| - __unlist_locked_file(f);
|
| - f->lockcount = 0;
|
| - __unlockfile(f);
|
| - } else {
|
| - f->lockcount--;
|
| - }
|
| +void funlockfile(FILE* f) {
|
| + if (f->lockcount == 1) {
|
| + __unlist_locked_file(f);
|
| + f->lockcount = 0;
|
| + __unlockfile(f);
|
| + } else {
|
| + f->lockcount--;
|
| + }
|
| }
|
|
|