From 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 18 Jan 2013 16:47:30 -0800 Subject: Remove 'Readv' interface No-one uses this, so there's no reason for it to be in the library Signed-off-by: Keith Packard --- Xtrans.c | 7 ------- Xtrans.h | 6 ------ 2 files changed, 13 deletions(-) diff --git a/Xtrans.c b/Xtrans.c index 0799f04..ac8b13d 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -865,13 +865,6 @@ TRANS(Write) (XtransConnInfo ciptr, char *buf, int size) return ciptr->transptr->Write (ciptr, buf, 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 */ -- cgit v1.2.1