From: Jan-Simon Pendry Date: Sun, 3 Apr 1994 00:09:03 +0000 (-0800) Subject: new pw_copy.h file for passwd X-Git-Tag: BSD-4_4_Lite2-Snapshot-Development~2877 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/5e42a97c418762b7beaaece61f47aff20402c9b3 new pw_copy.h file for passwd SCCS-vsn: usr.bin/chpass/chpass.h 8.3 SCCS-vsn: usr.bin/chpass/pw_copy.c 8.3 SCCS-vsn: usr.bin/chpass/chpass.c 8.3 --- diff --git a/usr/src/usr.bin/chpass/chpass.c b/usr/src/usr.bin/chpass/chpass.c index 2e66285230..5fce526d19 100644 --- a/usr/src/usr.bin/chpass/chpass.c +++ b/usr/src/usr.bin/chpass/chpass.c @@ -12,7 +12,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)chpass.c 8.2 (Berkeley) %G%"; +static char sccsid[] = "@(#)chpass.c 8.3 (Berkeley) %G%"; #endif /* not lint */ #include @@ -33,6 +33,7 @@ static char sccsid[] = "@(#)chpass.c 8.2 (Berkeley) %G%"; #include #include +#include "pw_copy.h" #include "chpass.h" #include "pathnames.h" diff --git a/usr/src/usr.bin/chpass/chpass.h b/usr/src/usr.bin/chpass/chpass.h index 33c129ef52..9136157c24 100644 --- a/usr/src/usr.bin/chpass/chpass.h +++ b/usr/src/usr.bin/chpass/chpass.h @@ -4,7 +4,7 @@ * * %sccs.include.redist.c% * - * @(#)chpass.h 8.2 (Berkeley) %G% + * @(#)chpass.h 8.3 (Berkeley) %G% */ struct passwd; @@ -40,6 +40,5 @@ 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 *)); -void pw_copy __P((int, int, struct passwd *)); char *ttoa __P((time_t)); int verify __P((struct passwd *)); diff --git a/usr/src/usr.bin/chpass/pw_copy.c b/usr/src/usr.bin/chpass/pw_copy.c index ec8460dcc0..dfb9420350 100644 --- a/usr/src/usr.bin/chpass/pw_copy.c +++ b/usr/src/usr.bin/chpass/pw_copy.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)pw_copy.c 8.2 (Berkeley) %G%"; +static char sccsid[] = "@(#)pw_copy.c 8.3 (Berkeley) %G%"; #endif /* not lint */ /* @@ -20,6 +20,7 @@ static char sccsid[] = "@(#)pw_copy.c 8.2 (Berkeley) %G%"; #include #include +#include "pw_copy.h" extern char *tempname;