=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/chpass/Attic/pw_yp.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/chpass/Attic/pw_yp.c 1997/02/14 11:05:11 1.7 --- src/usr.bin/chpass/Attic/pw_yp.c 1998/03/30 06:59:32 1.8 *************** *** 1,4 **** ! /* $OpenBSD: pw_yp.c,v 1.7 1997/02/14 11:05:11 niklas Exp $ */ /* $NetBSD: pw_yp.c,v 1.5 1995/03/26 04:55:33 glass Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: pw_yp.c,v 1.8 1998/03/30 06:59:32 deraadt Exp $ */ /* $NetBSD: pw_yp.c,v 1.5 1995/03/26 04:55:33 glass Exp $ */ /* *************** *** 37,43 **** #if 0 static char sccsid[] = "@(#)pw_yp.c 1.0 2/2/93"; #else ! static char rcsid[] = "$OpenBSD: pw_yp.c,v 1.7 1997/02/14 11:05:11 niklas Exp $"; #endif #endif /* not lint */ --- 37,43 ---- #if 0 static char sccsid[] = "@(#)pw_yp.c 1.0 2/2/93"; #else ! static char rcsid[] = "$OpenBSD: pw_yp.c,v 1.8 1998/03/30 06:59:32 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 48,53 **** --- 48,54 ---- #include #include #include + #include #include #include #include *************** *** 61,72 **** static char *domain; pw_yp(pw, uid) struct passwd *pw; uid_t uid; { char *master; ! char *pp, *p; char buf[10]; int r, rpcport, status, alen; struct yppasswd yppasswd; --- 62,74 ---- static char *domain; + int pw_yp(pw, uid) struct passwd *pw; uid_t uid; { char *master; ! char *p; char buf[10]; int r, rpcport, status, alen; struct yppasswd yppasswd; *************** *** 189,195 **** char *line; { register char *p = line; - register int c; pwent->pw_passwd = "*"; pwent->pw_uid = 0; --- 191,196 ----