diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
commit | 4d1a623fe8236a4c5c9215240f6467c8f152c8cf (patch) | |
tree | ad8bb553d7b210b429948acb08fb20109771b7cb /chpass | |
parent | c9a6d7915ad6a35bd0fce0b2a40003bd7bcd6a9b (diff) | |
download | pw-darwin-4d1a623fe8236a4c5c9215240f6467c8f152c8cf.tar.gz pw-darwin-4d1a623fe8236a4c5c9215240f6467c8f152c8cf.tar.zst pw-darwin-4d1a623fe8236a4c5c9215240f6467c8f152c8cf.zip |
remove __P
Diffstat (limited to 'chpass')
-rw-r--r-- | chpass/chpass.c | 4 | ||||
-rw-r--r-- | chpass/chpass.h | 35 | ||||
-rw-r--r-- | chpass/pw_copy.h | 2 |
3 files changed, 21 insertions, 20 deletions
diff --git a/chpass/chpass.c b/chpass/chpass.c index 86955f6..f88aa23 100644 --- a/chpass/chpass.c +++ b/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/chpass/chpass.h b/chpass/chpass.h index d48e4e1..5b2b608 100644 --- a/chpass/chpass.h +++ b/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/chpass/pw_copy.h b/chpass/pw_copy.h index 20f3bcc..6454536 100644 --- a/chpass/pw_copy.h +++ b/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 *); |