summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:15:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 09:15:08 +0000
commit80e69683a3ed58d82ea663e8bda8ed15cf8d13fd (patch)
tree918e4819099b4dc6d8671e106e3a2ef6f8fbc9b0
parent4a8dbfa3617da11a76be99789de0f924bc699f3d (diff)
sigblock mask is int, not long
-rw-r--r--usr.bin/rlogin/kcmd.c6
-rw-r--r--usr.bin/rlogin/rlogin.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/rlogin/kcmd.c b/usr.bin/rlogin/kcmd.c
index 3da92f441b4..308cbaa1f75 100644
--- a/usr.bin/rlogin/kcmd.c
+++ b/usr.bin/rlogin/kcmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kcmd.c,v 1.7 1997/04/12 19:54:50 rees Exp $ */
+/* $OpenBSD: kcmd.c,v 1.8 1997/06/23 09:15:06 deraadt 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.7 1997/04/12 19:54:50 rees Exp $";
+static char rcsid[] = "$OpenBSD: kcmd.c,v 1.8 1997/06/23 09:15:06 deraadt Exp $";
#endif
#endif /* not lint */
@@ -91,7 +91,7 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, ticket, service, realm,
long authopts;
{
int s, timo = 1, pid;
- long oldmask;
+ int oldmask;
struct sockaddr_in sin, from;
char c;
int lport = IPPORT_RESERVED - 1;
diff --git a/usr.bin/rlogin/rlogin.c b/usr.bin/rlogin/rlogin.c
index b02d50b3de8..7aebf7818de 100644
--- a/usr.bin/rlogin/rlogin.c
+++ b/usr.bin/rlogin/rlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlogin.c,v 1.12 1997/01/17 07:13:13 millert Exp $ */
+/* $OpenBSD: rlogin.c,v 1.13 1997/06/23 09:15:07 deraadt Exp $ */
/* $NetBSD: rlogin.c,v 1.8 1995/10/05 09:07:22 mycroft Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)rlogin.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: rlogin.c,v 1.12 1997/01/17 07:13:13 millert Exp $";
+static char rcsid[] = "$OpenBSD: rlogin.c,v 1.13 1997/06/23 09:15:07 deraadt Exp $";
#endif
#endif /* not lint */
@@ -121,7 +121,7 @@ struct winsize winsize;
void catch_child __P((int));
void copytochild __P((int));
-__dead void doit __P((long));
+__dead void doit __P((int));
__dead void done __P((int));
void echo __P((char));
u_int getescape __P((char *));
@@ -156,7 +156,7 @@ main(argc, argv)
struct passwd *pw;
struct servent *sp;
struct termios tty;
- long omask;
+ int omask;
int argoff, ch, dflag, one, uid;
char *host, *p, *user, term[64];
@@ -359,7 +359,7 @@ int child;
void
doit(omask)
- long omask;
+ int omask;
{
(void)signal(SIGINT, SIG_IGN);