diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-07 23:46:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-07 23:46:22 +0000 |
commit | e2aa1f4fa9a36d223e271cc24dfad691f6a56d12 (patch) | |
tree | ff7678cf744386be5015ae0385a83410ddaca4d9 /libc/pwd_grp/fgetpwent.c | |
parent | 59030d6f8ae481f69966aa9e1062af461b50e1b0 (diff) |
Formatting update
Diffstat (limited to 'libc/pwd_grp/fgetpwent.c')
-rw-r--r-- | libc/pwd_grp/fgetpwent.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libc/pwd_grp/fgetpwent.c b/libc/pwd_grp/fgetpwent.c index e12b89051..cd8742d80 100644 --- a/libc/pwd_grp/fgetpwent.c +++ b/libc/pwd_grp/fgetpwent.c @@ -22,14 +22,12 @@ #include <stdio.h> #include <pwd.h> -struct passwd * -fgetpwent(FILE * file) +struct passwd *fgetpwent(FILE * file) { - if (file==NULL) - { - errno=EINTR; - return NULL; - } + if (file == NULL) { + errno = EINTR; + return NULL; + } - return __getpwent(fileno(file)); + return __getpwent(fileno(file)); } |