summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-18 16:47:30 -0800
committerKeith Packard <keithp@keithp.com>2013-10-31 13:07:46 -0700
commit9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e (patch)
tree7fbb897bcf2da8d19311c420216e286814dcaa38
parentf6a161f2a003f4da0a2e414b4faa0ee0de0c01f0 (diff)
Remove 'Readv' interface
No-one uses this, so there's no reason for it to be in the library Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--Xtrans.c7
-rw-r--r--Xtrans.h6
2 files changed, 0 insertions, 13 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 0799f04..ac8b13d 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -866,13 +866,6 @@ TRANS(Write) (XtransConnInfo ciptr, char *buf, int size)
}
int
-TRANS(Readv) (XtransConnInfo ciptr, struct iovec *buf, int size)
-
-{
- return ciptr->transptr->Readv (ciptr, buf, size);
-}
-
-int
TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size)
{
diff --git a/Xtrans.h b/Xtrans.h
index 2945b2a..1b0af45 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -344,12 +344,6 @@ int TRANS(Write)(
int /* size */
);
-int TRANS(Readv)(
- XtransConnInfo, /* ciptr */
- struct iovec *, /* buf */
- int /* size */
-);
-
int TRANS(Writev)(
XtransConnInfo, /* ciptr */
struct iovec *, /* buf */