summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-18 03:08:57 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-18 03:08:57 +0000
commitcffdbc26f32e527d56a60a5123c036d234536281 (patch)
tree37d1c11755004101b8be7087c6fb2a4bcdaab6a9 /sys
parent50489a6fccae3cbc95b4ff8af134317e95ceb7e8 (diff)
Move prototype to include file.
Diffstat (limited to 'sys')
-rw-r--r--sys/crypto/crypto.c4
-rw-r--r--sys/crypto/crypto.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/crypto/crypto.c b/sys/crypto/crypto.c
index d9fb8d7f5cb..443958727bb 100644
--- a/sys/crypto/crypto.c
+++ b/sys/crypto/crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.c,v 1.8 2000/06/18 03:07:11 angelos Exp $ */
+/* $OpenBSD: crypto.c,v 1.9 2000/06/18 03:08:56 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -49,8 +49,6 @@ int crypto_queue_max = CRYPTO_MAX_CACHED;
struct cryptop *crp_req_queue = NULL;
struct cryptop **crp_req_queue_tail = NULL;
-int crypto_invoke(struct cryptop *);
-
/*
* Create a new session.
*/
diff --git a/sys/crypto/crypto.h b/sys/crypto/crypto.h
index 1389301a9e8..03718d1cca5 100644
--- a/sys/crypto/crypto.h
+++ b/sys/crypto/crypto.h
@@ -155,12 +155,13 @@ extern int crypto_register(u_int32_t, int,
int (*)(struct cryptop *));
extern int crypto_unregister(u_int32_t, int);
extern int32_t crypto_get_driverid(void);
+extern void crypto_thread(void);
+extern int crypto_invoke(struct cryptop *);
struct mbuf;
int mbuf2pages(struct mbuf *, int *, long *, int *, int, int *);
extern struct cryptop *crypto_getreq(int);
extern void crypto_freereq(struct cryptop *);
-extern void crypto_thread(void);
#endif /* _KERNEL */
#endif /* _CRYPTO_CRYPTO_H_ */