Fix variable declarations: register -> register int.
This commit is contained in:
parent
44ed0e5b79
commit
0dc9b5452d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_synch.c,v 1.48 1998/02/10 14:09:45 mrg Exp $ */
|
||||
/* $NetBSD: kern_synch.c,v 1.49 1998/02/12 20:39:41 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1990, 1991, 1993
|
||||
@ -302,7 +302,7 @@ tsleep(ident, priority, wmesg, timo)
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
register struct slpque *qp;
|
||||
register s;
|
||||
register int s;
|
||||
int sig, catch = priority & PCATCH;
|
||||
extern int cold;
|
||||
void endtsleep __P((void *));
|
||||
@ -438,7 +438,7 @@ sleep(ident, priority)
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
register struct slpque *qp;
|
||||
register s;
|
||||
register int s;
|
||||
extern int cold;
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tty.c,v 1.101 1997/12/12 12:49:40 drochner Exp $ */
|
||||
/* $NetBSD: tty.c,v 1.102 1998/02/12 20:39:44 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1990, 1991, 1993
|
||||
@ -1238,7 +1238,7 @@ ttypend(tp)
|
||||
register struct tty *tp;
|
||||
{
|
||||
struct clist tq;
|
||||
register c;
|
||||
register int c;
|
||||
|
||||
CLR(tp->t_lflag, PENDIN);
|
||||
SET(tp->t_state, TS_TYPEN);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uipc_mbuf.c,v 1.24 1998/02/10 14:09:50 mrg Exp $ */
|
||||
/* $NetBSD: uipc_mbuf.c,v 1.25 1998/02/12 20:39:46 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1988, 1991, 1993
|
||||
@ -472,7 +472,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;
|
||||
|
Loading…
Reference in New Issue
Block a user