diff options
author | Jindrich Novy <jnovy@redhat.com> | 2011-05-03 10:42:53 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2011-05-03 10:42:53 +0200 |
commit | a039c48f95ebd30ab6674c47c2c96460a32774aa (patch) | |
tree | 4d46c81b1412e666dad8d8b036ff01af96491164 | |
parent | 269df02ae1fc3955bee4e5f471b1172c04c714e2 (diff) | |
download | rpm-a039c48f95ebd30ab6674c47c2c96460a32774aa.tar.gz rpm-a039c48f95ebd30ab6674c47c2c96460a32774aa.tar.bz2 rpm-a039c48f95ebd30ab6674c47c2c96460a32774aa.zip |
Remove obsolete timedRead() from API
-rw-r--r-- | rpmio/rpmio.c | 5 | ||||
-rw-r--r-- | rpmio/rpmio.h | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index 58c623035..299c7024e 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -637,11 +637,6 @@ static const struct FDIO_s ufdio_s = { }; static const FDIO_t ufdio = &ufdio_s ; -ssize_t timedRead(FD_t fd, void * bufptr, size_t length) -{ - return Fread(bufptr, 1, length, fd); -} - /* =============================================================== */ /* Support for GZIP library. */ diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h index f31c6208f..f43192f36 100644 --- a/rpmio/rpmio.h +++ b/rpmio/rpmio.h @@ -122,13 +122,6 @@ FD_t fdNew (void); */ int ufdCopy(FD_t sfd, FD_t tfd); -/** - * XXX the name is misleading, this is a legacy wrapper that ensures - * only S_ISREG() files are read, nothing to do with timed... - * TODO: get this out of the API, should go out in the next soname bump - */ -ssize_t timedRead(FD_t fd, void * bufptr, size_t length); - /** \ingroup rpmio * Identify per-desciptor I/O operation statistics. */ |