diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/sys/uio.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/libnetworking/sys/uio.h b/cpukit/libnetworking/sys/uio.h index 4a27faa8fa..5aec197848 100644 --- a/cpukit/libnetworking/sys/uio.h +++ b/cpukit/libnetworking/sys/uio.h @@ -40,12 +40,11 @@ #include <rtems/bsd/sys/cdefs.h> /* - * XXX - * iov_base should be a void *. + * POSIX compliant iovec definition */ struct iovec { - char *iov_base; /* Base address. */ - size_t iov_len; /* Length. */ + void *iov_base; /* pointer to data to be written */ + size_t iov_len; /* length of this data block */ }; #if __BSD_VISIBLE |