summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/fgetgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/fgetgrent.c')
-rw-r--r--libc/pwd_grp/fgetgrent.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/libc/pwd_grp/fgetgrent.c b/libc/pwd_grp/fgetgrent.c
index 800236fcc..09701a38b 100644
--- a/libc/pwd_grp/fgetgrent.c
+++ b/libc/pwd_grp/fgetgrent.c
@@ -22,14 +22,12 @@
#include <errno.h>
#include <grp.h>
-struct group *
-fgetgrent(FILE * file)
+struct group *fgetgrent(FILE * file)
{
- if (file==NULL)
- {
- errno=EINTR;
- return NULL;
- }
-
- return __getgrent(fileno(file));
+ if (file == NULL) {
+ errno = EINTR;
+ return NULL;
+ }
+
+ return __getgrent(fileno(file));
}