summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commit74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/chpass
parentce819c0c139981d7bab5fe36a6074af74b01d185 (diff)
downloadFreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip
FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz
remove __P
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 86955f6..f88aa23 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 d48e4e1..5b2b608 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 20f3bcc..6454536 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 *);
OpenPOWER on IntegriCloud