Remove obsolete timedRead() from API
authorJindrich Novy <jnovy@redhat.com>
Tue, 3 May 2011 08:42:53 +0000 (10:42 +0200)
committerJindrich Novy <jnovy@redhat.com>
Tue, 3 May 2011 08:42:53 +0000 (10:42 +0200)
rpmio/rpmio.c
rpmio/rpmio.h

index 58c6230..299c702 100644 (file)
@@ -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.
  */
index f31c620..f43192f 100644 (file)
@@ -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.
  */