summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
committermillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
commitc4071fd13883b3f74b90a411bbb39755a785aeaa (patch)
tree241e7c760222fac909b512d36156c6db1b610256 /sys/kern/kern_physio.c
parentcompare pointers with NULL not 0 (diff)
downloadwireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz
wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip
First round of __P removal in sys
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r--sys/kern/kern_physio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index dc1b78fb8e2..acc3fd70823 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_physio.c,v 1.18 2001/12/10 17:37:51 art Exp $ */
+/* $OpenBSD: kern_physio.c,v 1.19 2002/03/14 01:27:04 millert Exp $ */
/* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */
/*-
@@ -62,8 +62,8 @@
* I/O, so raw I/O requests don't have to be single-threaded.
*/
-struct buf *getphysbuf __P((void));
-void putphysbuf __P((struct buf *bp));
+struct buf *getphysbuf(void);
+void putphysbuf(struct buf *bp);
/*
* Do "physical I/O" on behalf of a user. "Physical I/O" is I/O directly
@@ -73,11 +73,11 @@ void putphysbuf __P((struct buf *bp));
*/
int
physio(strategy, bp, dev, flags, minphys, uio)
- void (*strategy) __P((struct buf *));
+ void (*strategy)(struct buf *);
struct buf *bp;
dev_t dev;
int flags;
- void (*minphys) __P((struct buf *));
+ void (*minphys)(struct buf *);
struct uio *uio;
{
struct iovec *iovp;