diff options
author | mike <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
commit | 8630abe45fe3751d8cc345f537ad98962a59ef5e (patch) | |
tree | 60ccb9ea10edcf3d8fc8975fb348b756ea207e35 /sys/sys/uio.h | |
parent | b3c0f70717dc721a9076491fe80fef2e28c95424 (diff) | |
download | FreeBSD-src-8630abe45fe3751d8cc345f537ad98962a59ef5e.zip FreeBSD-src-8630abe45fe3751d8cc345f537ad98962a59ef5e.tar.gz |
Change iov_base's type from `char *' to the standard `void *'. All
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
Diffstat (limited to 'sys/sys/uio.h')
-rw-r--r-- | sys/sys/uio.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h index a6c6a9d..5de0cd1 100644 --- a/sys/sys/uio.h +++ b/sys/sys/uio.h @@ -37,12 +37,8 @@ #ifndef _SYS_UIO_H_ #define _SYS_UIO_H_ -/* - * XXX - * iov_base should be a void *. - */ struct iovec { - char *iov_base; /* Base address. */ + void *iov_base; /* Base address. */ size_t iov_len; /* Length. */ }; |