summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-01 06:16:08 +0000
committersteve <steve@FreeBSD.org>1998-02-01 06:16:08 +0000
commit82731c60fb8729a2a94abbdddd6d03bb25ea9e41 (patch)
treebcedd810e4c27f69a7930e1a10548565d86e8079 /include/pwd.h
parentaf45e9528bc70b1aa2f03aa1c4cea45446340240 (diff)
downloadFreeBSD-src-82731c60fb8729a2a94abbdddd6d03bb25ea9e41.zip
FreeBSD-src-82731c60fb8729a2a94abbdddd6d03bb25ea9e41.tar.gz
XOpen says the void setpwent(void) is correct. Also call setpassent(0)
instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 0cc41bb..895ced3 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -103,7 +103,7 @@ struct passwd *getpwnam __P((const char *));
#ifndef _POSIX_SOURCE
struct passwd *getpwent __P((void));
int setpassent __P((int));
-int setpwent __P((void));
+void setpwent __P((void));
void endpwent __P((void));
#endif
__END_DECLS
OpenPOWER on IntegriCloud