Don't depend on "implicit int".

This commit is contained in:
bde 1998-02-20 13:37:40 +00:00
parent fed944c647
commit 999552194c
9 changed files with 18 additions and 18 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)swapgeneric.c 5.5 (Berkeley) 5/9/91
* $Id: swapgeneric.c,v 1.21 1997/02/22 09:32:49 peter Exp $
* $Id: swapgeneric.c,v 1.22 1997/09/07 12:56:40 bde Exp $
*/
#include <sys/param.h>
@ -161,7 +161,7 @@ void gets(cp)
char *cp;
{
register char *lp;
register c;
register int c;
lp = cp;
for (;;) {

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: bt.c,v 1.14 1997/07/20 16:21:36 bde Exp $
* $Id: bt.c,v 1.15 1997/09/21 21:43:54 gibbs Exp $
*/
/*
@ -324,7 +324,7 @@ bt_cmd(bt, icnt, ocnt, wait, retval, opcode, va_alist)
va_list ap;
u_char data;
u_char oc;
register i;
int i;
int sts;
/*

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_ktrace.c 8.2 (Berkeley) 9/23/93
* $Id: kern_ktrace.c,v 1.21 1997/11/06 19:29:10 phk Exp $
* $Id: kern_ktrace.c,v 1.22 1997/12/05 19:55:38 bde Exp $
*/
#include "opt_ktrace.h"
@ -81,7 +81,7 @@ ktrsyscall(vp, code, narg, args)
{
struct ktr_header *kth;
struct ktr_syscall *ktp;
register len = sizeof(struct ktr_syscall) + (narg * sizeof(int));
register int len = sizeof(struct ktr_syscall) + (narg * sizeof(int));
struct proc *p = curproc; /* XXX */
int *argp, i;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
* $Id: ufs_disksubr.c,v 1.32 1997/09/21 22:10:49 gibbs Exp $
* $Id: ufs_disksubr.c,v 1.33 1997/11/07 08:53:36 phk Exp $
*/
#include <sys/param.h>
@ -189,7 +189,7 @@ setdisklabel(olp, nlp, openmask)
register struct disklabel *olp, *nlp;
u_long openmask;
{
register i;
register int i;
register struct partition *opp, *npp;
/*

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
* $Id: uipc_mbuf.c,v 1.32 1997/10/28 15:58:22 bde Exp $
* $Id: uipc_mbuf.c,v 1.33 1997/12/28 01:01:13 bde Exp $
*/
#include <sys/param.h>
@ -593,7 +593,7 @@ m_adj(mp, req_len)
{
register int len = req_len;
register struct mbuf *m;
register count;
register int count;
if ((m = mp) == NULL)
return;

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
* $Id: ip_output.c,v 1.63 1998/02/04 22:33:09 eivind Exp $
* $Id: ip_output.c,v 1.64 1998/02/06 12:13:52 eivind Exp $
*/
#define _IP_VHL
@ -841,7 +841,7 @@ ip_pcbopts(pcbopt, m)
struct mbuf **pcbopt;
register struct mbuf *m;
{
register cnt, optlen;
register int cnt, optlen;
register u_char *cp;
u_char opt;

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_output.c 8.4 (Berkeley) 5/24/95
* $Id: tcp_output.c,v 1.26 1997/09/16 18:36:05 joerg Exp $
* $Id: tcp_output.c,v 1.27 1997/10/07 21:10:06 fenner Exp $
*/
#include "opt_tcpdebug.h"
@ -737,7 +737,7 @@ void
tcp_setpersist(tp)
register struct tcpcb *tp;
{
register t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1;
register int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1;
if (tp->t_timer[TCPT_REXMT])
panic("tcp_output REXMT");

View File

@ -8,7 +8,7 @@
* file.
*
* Written by Julian Elischer (julian@dialix.oz.au)
* $Id: scsi_base.c,v 1.52 1997/10/12 08:54:46 joerg Exp $
* $Id: scsi_base.c,v 1.53 1997/12/20 00:28:47 bde Exp $
*/
#include "opt_bounce.h"
@ -1201,7 +1201,7 @@ scsi_4btou(bytes)
return rc;
}
static sc_printing;
static int sc_printing;
void
sc_print_init()

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
* $Id: ufs_disksubr.c,v 1.32 1997/09/21 22:10:49 gibbs Exp $
* $Id: ufs_disksubr.c,v 1.33 1997/11/07 08:53:36 phk Exp $
*/
#include <sys/param.h>
@ -189,7 +189,7 @@ setdisklabel(olp, nlp, openmask)
register struct disklabel *olp, *nlp;
u_long openmask;
{
register i;
register int i;
register struct partition *opp, *npp;
/*