summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /include/pwd.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 6307980c7fc..41c36179941 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.12 2001/08/26 03:28:30 millert Exp $ */
+/* $OpenBSD: pwd.h,v 1.13 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -97,18 +97,18 @@ struct passwd {
#include <sys/cdefs.h>
__BEGIN_DECLS
-struct passwd *getpwuid __P((uid_t));
-struct passwd *getpwnam __P((const char *));
+struct passwd *getpwuid(uid_t);
+struct passwd *getpwnam(const char *);
#ifndef _POSIX_SOURCE
-struct passwd *getpwent __P((void));
+struct passwd *getpwent(void);
#ifndef _XOPEN_SOURCE
-int setpassent __P((int));
-char *user_from_uid __P((uid_t, int));
-char *bcrypt_gensalt __P((u_int8_t));
-struct passwd *pw_dup __P((const struct passwd *));
+int setpassent(int);
+char *user_from_uid(uid_t, int);
+char *bcrypt_gensalt(u_int8_t);
+struct passwd *pw_dup(const struct passwd *);
#endif
-void setpwent __P((void));
-void endpwent __P((void));
+void setpwent(void);
+void endpwent(void);
#endif
__END_DECLS