summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-10-18 02:23:37 +0000
committerchristos <christos@NetBSD.org>2007-10-18 02:23:37 +0000
commit6c189078917dca7e5b2c21f11720a8ecc3ee956f (patch)
tree33f94105e0fcd12b3533041319fa301ae2e09ebe /include/pwd.h
parent04e2d299552dba44fef1d5a361639b1d0b844d48 (diff)
Introduce _NETBSD_TOOLS for symbols the are needed in tools build
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 372c3bf8469..7c28109b3a1 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pwd.h,v 1.39 2005/05/24 17:36:29 kleink Exp $ */
+/* $NetBSD: pwd.h,v 1.40 2007/10/18 02:23:37 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -132,7 +132,7 @@ struct passwd *getpwent(void);
void setpwent(void);
void endpwent(void);
#endif
-#if defined(_NETBSD_SOURCE)
+#if defined(_NETBSD_SOURCE) || defined(_NETBSD_TOOLS)
int pw_gensalt(char *, size_t, const char *, const char *);
int pw_scan(char *, struct passwd *, int *);
int setpassent(int);