catching up with other changes
This commit is contained in:
parent
907abf89c7
commit
5eef1840c0
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: cons.c,v 1.4 1994/10/26 21:10:18 cgd Exp $ */
|
/* $NetBSD: cons.c,v 1.5 1994/11/22 18:59:57 dean Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -72,15 +72,16 @@ struct consdev cn_tab = {
|
||||||
(struct tty *)0,
|
(struct tty *)0,
|
||||||
};
|
};
|
||||||
|
|
||||||
cnopen(dev, flag, mode, p)
|
cnopen(dev, flag, mode, p, fp)
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
int flag, mode;
|
int flag, mode;
|
||||||
struct proc *p;
|
struct proc *p;
|
||||||
|
struct file *fp;
|
||||||
{
|
{
|
||||||
if (cn_tab.cn_dev == NODEV)
|
if (cn_tab.cn_dev == NODEV)
|
||||||
return (0);
|
return (0);
|
||||||
dev = cn_tab.cn_dev;
|
dev = cn_tab.cn_dev;
|
||||||
return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p));
|
return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p, fp));
|
||||||
}
|
}
|
||||||
|
|
||||||
cnclose(dev, flag, mode, p)
|
cnclose(dev, flag, mode, p)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: machdep.c,v 1.15 1994/10/26 21:10:33 cgd Exp $ */
|
/* $NetBSD: machdep.c,v 1.16 1994/11/22 18:59:59 dean Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -1002,7 +1002,7 @@ void
|
||||||
sendsig(catcher, sig, mask, code)
|
sendsig(catcher, sig, mask, code)
|
||||||
sig_t catcher;
|
sig_t catcher;
|
||||||
int sig, mask;
|
int sig, mask;
|
||||||
unsigned code;
|
u_long code;
|
||||||
{
|
{
|
||||||
register struct proc *p = curproc;
|
register struct proc *p = curproc;
|
||||||
register struct sigframe *fp;
|
register struct sigframe *fp;
|
||||||
|
|
Loading…
Reference in New Issue