diff options
author | bde <bde@FreeBSD.org> | 1998-05-01 18:30:02 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-01 18:30:02 +0000 |
commit | 21cbeb52dbdb2c73ea15358b138a6476a2dd5432 (patch) | |
tree | 58c7fd05fa262fb4c872c982c593f7b915cbc3e6 | |
parent | f5d79ab0c0d0b29bc8ecc9a28116bdfe170e6671 (diff) | |
download | FreeBSD-src-21cbeb52dbdb2c73ea15358b138a6476a2dd5432.zip FreeBSD-src-21cbeb52dbdb2c73ea15358b138a6476a2dd5432.tar.gz |
Don't depend on "implicit int".
-rw-r--r-- | sys/i386/isa/aha1542.c | 6 | ||||
-rw-r--r-- | 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 c6c7d3e..47b912b 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 cd8149b..5fc8227 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 <sys/param.h> @@ -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"); |