summaryrefslogtreecommitdiffstats
path: root/sys/crypto/cryptodev.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/crypto/cryptodev.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/crypto/cryptodev.c')
-rw-r--r--sys/crypto/cryptodev.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c
index 2319780d0b6..a933c3d0580 100644
--- a/sys/crypto/cryptodev.c
+++ b/sys/crypto/cryptodev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.c,v 1.33 2002/03/05 15:59:41 markus Exp $ */
+/* $OpenBSD: cryptodev.c,v 1.34 2002/03/14 01:26:51 millert Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -75,14 +75,14 @@ struct fcrypt {
int sesn;
};
-void cryptoattach __P((int));
+void cryptoattach(int);
-int cryptoopen __P((dev_t, int, int, struct proc *));
-int cryptoclose __P((dev_t, int, int, struct proc *));
-int cryptoread __P((dev_t, struct uio *, int));
-int cryptowrite __P((dev_t, struct uio *, int));
-int cryptoioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
-int cryptoselect __P((dev_t, int, struct proc *));
+int cryptoopen(dev_t, int, int, struct proc *);
+int cryptoclose(dev_t, int, int, struct proc *);
+int cryptoread(dev_t, struct uio *, int);
+int cryptowrite(dev_t, struct uio *, int);
+int cryptoioctl(dev_t, u_long, caddr_t, int, struct proc *);
+int cryptoselect(dev_t, int, struct proc *);
int cryptof_read(struct file *, off_t *, struct uio *, struct ucred *);
int cryptof_write(struct file *, off_t *, struct uio *, struct ucred *);