Remove fp arg to d_open.

This commit is contained in:
mycroft 1994-12-14 18:52:32 +00:00
parent 7276c4ed44
commit a7393f95f3
3 changed files with 7 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.20 1994/11/14 05:56:25 christos Exp $ */
/* $NetBSD: conf.c,v 1.21 1994/12/14 18:57:23 mycroft Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -48,8 +48,7 @@ int rawwrite __P((dev_t, struct uio *, int));
void swstrategy __P((struct buf *));
int ttselect __P((dev_t, int, struct proc *));
#define dev_type_open(n) int n __P((dev_t, int, int, struct proc *, \
struct file *))
#define dev_type_open(n) int n __P((dev_t, int, int, struct proc *))
#define dev_type_close(n) int n __P((dev_t, int, int, struct proc *))
#define dev_type_strategy(n) void n __P((struct buf *))
#define dev_type_ioctl(n) \

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.54 1994/12/05 05:45:38 mycroft Exp $ */
/* $NetBSD: conf.c,v 1.55 1994/12/14 18:55:16 mycroft Exp $ */
/*
* Copyright (c) 1994 Charles Hannum. All rights reserved.
@ -48,8 +48,7 @@ int ttselect __P((dev_t, int, struct proc *));
int lkmenodev();
#endif
#define dev_type_open(n) int n __P((dev_t, int, int, struct proc *, \
struct file *))
#define dev_type_open(n) int n __P((dev_t, int, int, struct proc *))
#define dev_type_close(n) int n __P((dev_t, int, int, struct proc *))
#define dev_type_strategy(n) void n __P((struct buf *))
#define dev_type_ioctl(n) \

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.h,v 1.16 1994/11/14 06:02:03 christos Exp $ */
/* $NetBSD: conf.h,v 1.17 1994/12/14 18:52:32 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -49,11 +49,10 @@ struct proc;
struct tty;
struct uio;
struct vnode;
struct file;
struct bdevsw {
int (*d_open) __P((dev_t dev, int oflags, int devtype,
struct proc *p, struct file* fp));
struct proc *p));
int (*d_close) __P((dev_t dev, int fflag, int devtype,
struct proc *p));
void (*d_strategy) __P((struct buf *bp));
@ -70,7 +69,7 @@ extern struct bdevsw bdevsw[];
struct cdevsw {
int (*d_open) __P((dev_t dev, int oflags, int devtype,
struct proc *p, struct file *fp));
struct proc *p));
int (*d_close) __P((dev_t dev, int fflag, int devtype,
struct proc *));
int (*d_read) __P((dev_t dev, struct uio *uio, int ioflag));