aboutgitcodebugslistschat
path: root/iov.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-06-13 14:36:54 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-06-13 15:45:40 +0200
commit7290335b146c61495178c73310bc6727608988cc (patch)
treeb3924726cba65404d6b067c66cee03504881a19d /iov.h
parent0c335d751a21d6b46bd78dd1118860e84021984b (diff)
downloadpasst-7290335b146c61495178c73310bc6727608988cc.tar
passt-7290335b146c61495178c73310bc6727608988cc.tar.gz
passt-7290335b146c61495178c73310bc6727608988cc.tar.bz2
passt-7290335b146c61495178c73310bc6727608988cc.tar.lz
passt-7290335b146c61495178c73310bc6727608988cc.tar.xz
passt-7290335b146c61495178c73310bc6727608988cc.tar.zst
passt-7290335b146c61495178c73310bc6727608988cc.zip
iov: remove iov_copy()
it was needed by a draft version of vhost-user, it is not needed anymore. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'iov.h')
-rw-r--r--iov.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/iov.h b/iov.h
index 5668ca5..a9e1722 100644
--- a/iov.h
+++ b/iov.h
@@ -28,7 +28,4 @@ size_t iov_from_buf(const struct iovec *iov, size_t iov_cnt,
size_t iov_to_buf(const struct iovec *iov, size_t iov_cnt,
size_t offset, void *buf, size_t bytes);
size_t iov_size(const struct iovec *iov, size_t iov_cnt);
-unsigned iov_copy(struct iovec *dst_iov, size_t dst_iov_cnt,
- const struct iovec *iov, size_t iov_cnt,
- size_t offset, size_t bytes);
#endif /* IOVEC_H */