aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-03-14 19:13:01 +0000
committerDavid Schultz <das@FreeBSD.org>2009-03-14 19:13:01 +0000
commit32f1a59174ccf812275f83214fbd99b2f61cadcc (patch)
tree034803b600952a63f9a0d41e94e0f0ba9797410c /include
parent44bf9512a826abf6f53b5227aef43f2af5a83cf6 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/pwd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 4503ddb243a07..6906db8b4ba00 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -152,10 +152,13 @@ __BEGIN_DECLS
struct passwd *getpwnam(const char *);
struct passwd *getpwuid(uid_t);
-#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
+#if __XSI_VISIBLE >= 500
void endpwent(void);
struct passwd *getpwent(void);
void setpwent(void);
+#endif
+
+#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
int getpwnam_r(const char *, struct passwd *, char *, size_t,
struct passwd **);
int getpwuid_r(uid_t, struct passwd *, char *, size_t,