aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commitf1bb2cd2aa7488657658fbc09aae2ead579049ab (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/chpass
parent9f6092398b2ada850e3149754f08600fdff7caaa (diff)
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.c4
-rw-r--r--usr.bin/chpass/chpass.h35
-rw-r--r--usr.bin/chpass/pw_copy.h2
3 files changed, 21 insertions, 20 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c
index 86955f61cdc8..f88aa238f5d1 100644
--- a/usr.bin/chpass/chpass.c
+++ b/usr.bin/chpass/chpass.c
@@ -74,8 +74,8 @@ int yp_errno = YP_TRUE;
char *tempname;
uid_t uid;
-void baduser __P((void));
-void usage __P((void));
+void baduser(void);
+void usage(void);
int
main(argc, argv)
diff --git a/usr.bin/chpass/chpass.h b/usr.bin/chpass/chpass.h
index d48e4e1d678b..5b2b608d7347 100644
--- a/usr.bin/chpass/chpass.h
+++ b/usr.bin/chpass/chpass.h
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*
* @(#)chpass.h 8.4 (Berkeley) 4/2/94
+ * $FreeBSD$
*/
struct passwd;
@@ -52,20 +53,20 @@ typedef struct _entry {
extern ENTRY list[];
extern uid_t uid;
-int atot __P((char *, time_t *));
-void display __P((int, struct passwd *));
-void edit __P((struct passwd *));
-char *ok_shell __P((char *));
-int p_change __P((char *, struct passwd *, ENTRY *));
-int p_class __P((char *, struct passwd *, ENTRY *));
-int p_expire __P((char *, struct passwd *, ENTRY *));
-int p_gecos __P((char *, struct passwd *, ENTRY *));
-int p_gid __P((char *, struct passwd *, ENTRY *));
-int p_hdir __P((char *, struct passwd *, ENTRY *));
-int p_login __P((char *, struct passwd *, ENTRY *));
-int p_login __P((char *, struct passwd *, ENTRY *));
-int p_passwd __P((char *, struct passwd *, ENTRY *));
-int p_shell __P((char *, struct passwd *, ENTRY *));
-int p_uid __P((char *, struct passwd *, ENTRY *));
-char *ttoa __P((time_t));
-int verify __P((struct passwd *));
+int atot(char *, time_t *);
+void display(int, struct passwd *);
+void edit(struct passwd *);
+char *ok_shell(char *);
+int p_change(char *, struct passwd *, ENTRY *);
+int p_class(char *, struct passwd *, ENTRY *);
+int p_expire(char *, struct passwd *, ENTRY *);
+int p_gecos(char *, struct passwd *, ENTRY *);
+int p_gid(char *, struct passwd *, ENTRY *);
+int p_hdir(char *, struct passwd *, ENTRY *);
+int p_login(char *, struct passwd *, ENTRY *);
+int p_login(char *, struct passwd *, ENTRY *);
+int p_passwd(char *, struct passwd *, ENTRY *);
+int p_shell(char *, struct passwd *, ENTRY *);
+int p_uid(char *, struct passwd *, ENTRY *);
+char *ttoa(time_t);
+int verify(struct passwd *);
diff --git a/usr.bin/chpass/pw_copy.h b/usr.bin/chpass/pw_copy.h
index 20f3bcca1c66..645453688614 100644
--- a/usr.bin/chpass/pw_copy.h
+++ b/usr.bin/chpass/pw_copy.h
@@ -33,4 +33,4 @@
* $FreeBSD$
*/
-void pw_copy __P((int, int, struct passwd *, struct passwd *));
+void pw_copy(int, int, struct passwd *, struct passwd *);