diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2006-05-31 23:01:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2006-05-31 23:01:45 +0000 |
commit | 14122972524e1f349a5da3b63d98f5edf53df290 (patch) | |
tree | 056d6b328edcc23eee6af6d66d220df5bc434f63 /sys/crypto/cryptodev.h | |
parent | b6fd4a36bf93e9be4d0ac2d98b614c935ce50921 (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.h | 4 |
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 */ |