summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index dfe5d34..1fc4fdd 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -214,15 +214,10 @@ setpassent(stayopen)
return(1);
}
-int
+void
setpwent()
{
- _pw_keynum = 0;
-#ifdef YP
- _pw_stepping_yp = 0;
-#endif
- _pw_stayopen = 0;
- return(1);
+ (void)setpassent(0);
}
void
OpenPOWER on IntegriCloud