diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-08-14 15:18:06 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-08-14 15:18:06 +0000 |
commit | 5af369cda4cea19679171ef5c7f907af3f2cfbff (patch) | |
tree | e4e97ecec1fa4f1c546520cb7f6f57310d48c4e1 | |
parent | b6c5a0b1886ac6f0aca4a9176b88611fda05d10d (diff) |
mirror change in mbufs: cuio_copyback's 4th arg is now const void *
-rw-r--r-- | sys/crypto/criov.c | 12 | ||||
-rw-r--r-- | sys/crypto/cryptodev.h | 4 |
2 files changed, 5 insertions, 11 deletions
diff --git a/sys/crypto/criov.c b/sys/crypto/criov.c index fe9866fa61e..8d183d94000 100644 --- a/sys/crypto/criov.c +++ b/sys/crypto/criov.c @@ -1,4 +1,4 @@ -/* $OpenBSD: criov.c,v 1.13 2003/07/31 20:35:10 markus Exp $ */ +/* $OpenBSD: criov.c,v 1.14 2003/08/14 15:18:05 jason Exp $ */ /* * Copyright (c) 1999 Theo de Raadt @@ -38,10 +38,7 @@ #include <crypto/cryptodev.h> void -cuio_copydata(uio, off, len, cp) - struct uio *uio; - int off, len; - caddr_t cp; +cuio_copydata(struct uio *uio, int off, int len, caddr_t cp) { struct iovec *iov = uio->uio_iov; int iol = uio->uio_iovcnt; @@ -74,10 +71,7 @@ cuio_copydata(uio, off, len, cp) } void -cuio_copyback(uio, off, len, cp) - struct uio *uio; - int off, len; - caddr_t cp; +cuio_copyback(struct uio *uio, int off, int len, const void *cp) { struct iovec *iov = uio->uio_iov; int iol = uio->uio_iovcnt; diff --git a/sys/crypto/cryptodev.h b/sys/crypto/cryptodev.h index b4bac3a7e58..eac54325840 100644 --- a/sys/crypto/cryptodev.h +++ b/sys/crypto/cryptodev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.h,v 1.41 2003/07/24 15:29:38 markus Exp $ */ +/* $OpenBSD: cryptodev.h,v 1.42 2003/08/14 15:18:05 jason Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) @@ -314,7 +314,7 @@ void crypto_kdone(struct cryptkop *); int crypto_getfeat(int *); void cuio_copydata(struct uio *, int, int, caddr_t); -void cuio_copyback(struct uio *, int, int, caddr_t); +void cuio_copyback(struct uio *, int, int, const void *); int cuio_getptr(struct uio *, int, int *); int cuio_apply(struct uio *, int, int, int (*f)(caddr_t, caddr_t, unsigned int), caddr_t); |