From d86cac8647f3858b5b6bf7fbb83988b4a345948a Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 1 May 1998 18:30:02 +0000 Subject: [PATCH] Don't depend on "implicit int". --- sys/i386/isa/aha1542.c | 6 +++--- sys/netipx/spx_usrreq.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/i386/isa/aha1542.c b/sys/i386/isa/aha1542.c index c6c7d3e046cc..47b912befb3b 100644 --- a/sys/i386/isa/aha1542.c +++ b/sys/i386/isa/aha1542.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: aha1542.c,v 1.75 1998/02/21 10:11:43 eivind Exp $ + * $Id: aha1542.c,v 1.76 1998/04/17 22:36:29 des Exp $ */ /* @@ -415,7 +415,7 @@ aha_cmd(aha, icnt, ocnt, wait, retval, opcode, va_alist) va_list ap; u_char oc; u_char data; - register i; + register int i; int sts; /* @@ -652,7 +652,7 @@ ahaintr(unit) int unit; { unsigned char stat; - register i; + register int i; struct aha_data *aha = ahadata[unit]; #ifdef AHADEBUG diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index cd8149bb3f2f..5fc82271d039 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -33,7 +33,7 @@ * * @(#)spx_usrreq.h * - * $Id: spx_usrreq.c,v 1.17 1997/09/14 03:10:41 peter Exp $ + * $Id: spx_usrreq.c,v 1.18 1998/02/09 06:10:26 eivind Exp $ */ #include @@ -1139,7 +1139,7 @@ static void spx_setpersist(cb) register struct spxpcb *cb; { - register t = ((cb->s_srtt >> 2) + cb->s_rttvar) >> 1; + register int t = ((cb->s_srtt >> 2) + cb->s_rttvar) >> 1; if (cb->s_timer[SPXT_REXMT] && spx_do_persist_panics) panic("spx_output REXMT");