summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptodev.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2006-05-31 23:01:45 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2006-05-31 23:01:45 +0000
commit14122972524e1f349a5da3b63d98f5edf53df290 (patch)
tree056d6b328edcc23eee6af6d66d220df5bc434f63 /sys/crypto/cryptodev.h
parentb6fd4a36bf93e9be4d0ac2d98b614c935ce50921 (diff)
remove some silly casts. put spl calls after all declarations.
put one splx in a better spot. make a variable size MALLOC use malloc. remove null test after malloc(M_WAITOK). add PR_NOWAIT flag to pool_get instead of 0. change callbacks to correct type. ok brad deraadt markus mickey
Diffstat (limited to 'sys/crypto/cryptodev.h')
-rw-r--r--sys/crypto/cryptodev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.h b/sys/crypto/cryptodev.h
index e14b18b56e0..37e1587c40d 100644
--- a/sys/crypto/cryptodev.h
+++ b/sys/crypto/cryptodev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.h,v 1.43 2005/05/25 05:47:53 markus Exp $ */
+/* $OpenBSD: cryptodev.h,v 1.44 2006/05/31 23:01:44 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -166,7 +166,7 @@ struct cryptop {
#define CRYPTO_F_DONE 0x0010 /* request completed */
caddr_t crp_buf; /* Data to be processed */
- caddr_t crp_opaque; /* Opaque pointer, passed along */
+ void *crp_opaque; /* Opaque pointer, passed along */
struct cryptodesc *crp_desc; /* Linked list of processing descriptors */
int (*crp_callback)(struct cryptop *); /* Callback function */