=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsh/Attic/kcmd.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/rsh/Attic/kcmd.c 2002/06/02 19:06:39 1.2 +++ src/usr.bin/rsh/Attic/kcmd.c 2002/06/12 06:07:16 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: kcmd.c,v 1.2 2002/06/02 19:06:39 deraadt Exp $ */ +/* $OpenBSD: kcmd.c,v 1.3 2002/06/12 06:07:16 mpech Exp $ */ /* $NetBSD: kcmd.c,v 1.2 1995/03/21 07:58:32 cgd Exp $ */ /* @@ -39,7 +39,7 @@ static char Xsccsid[] = "derived from @(#)rcmd.c 5.17 (Berkeley) 6/27/88"; static char sccsid[] = "@(#)kcmd.c 8.2 (Berkeley) 8/19/93"; #else -static char rcsid[] = "$OpenBSD: kcmd.c,v 1.2 2002/06/02 19:06:39 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: kcmd.c,v 1.3 2002/06/12 06:07:16 mpech Exp $"; #endif #endif /* not lint */ @@ -95,7 +95,7 @@ struct sockaddr_in *laddr, *faddr; long authopts; { - int s, timo = 1, pid; + int s, timo = 1; sigset_t mask, oldmask; struct sockaddr_in sin, from; char c; @@ -104,6 +104,7 @@ int rc; char *host_save; int status; + pid_t pid; pid = getpid(); hp = gethostbyname(*ahost);