Don't depend on "implicit int".

This commit is contained in:
Bruce Evans 1998-05-01 18:30:02 +00:00
parent 89f9e39f19
commit d86cac8647
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35599
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct * on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances. * 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; va_list ap;
u_char oc; u_char oc;
u_char data; u_char data;
register i; register int i;
int sts; int sts;
/* /*
@ -652,7 +652,7 @@ ahaintr(unit)
int unit; int unit;
{ {
unsigned char stat; unsigned char stat;
register i; register int i;
struct aha_data *aha = ahadata[unit]; struct aha_data *aha = ahadata[unit];
#ifdef AHADEBUG #ifdef AHADEBUG

View File

@ -33,7 +33,7 @@
* *
* @(#)spx_usrreq.h * @(#)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> #include <sys/param.h>
@ -1139,7 +1139,7 @@ static void
spx_setpersist(cb) spx_setpersist(cb)
register struct spxpcb *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) if (cb->s_timer[SPXT_REXMT] && spx_do_persist_panics)
panic("spx_output REXMT"); panic("spx_output REXMT");