summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-08-19 10:00:32 +0300
committerPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-08-19 10:00:32 +0300
commit124c5d772aa6fe2515547ae6f8833c15dbf46d69 (patch)
treea26e57ded11eefacabef4f3546ddd34fdcff9a95 /rpmio
parent1f1e5e88a1f6c60cf2d11014d809000e97a63aad (diff)
downloadrpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.tar.gz
rpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.tar.bz2
rpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.zip
Remove unused FDFOO macros
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index aef5a8510..e6b046103 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -36,7 +36,6 @@ struct _FD_s {
int nrefs;
int flags;
#define RPMIO_DEBUG_IO 0x40000000
-#define RPMIO_DEBUG_REFS 0x20000000
int magic;
#define FDMAGIC 0x04463138
int nfps;
@@ -134,15 +133,6 @@ static void * iotFileno(FD_t fd, FDIO_t iot)
return rc;
}
-#define FDNREFS(fd) (fd ? ((FD_t)fd)->nrefs : -9)
-
-#define FDONLY(fd) assert(fdGetIo(fd) == fdio)
-#define GZDONLY(fd) assert(fdGetIo(fd) == gzdio)
-#define BZDONLY(fd) assert(fdGetIo(fd) == bzdio)
-#define LZDONLY(fd) assert(fdGetIo(fd) == xzdio || fdGetIo(fd) == lzdio)
-
-#define UFDONLY(fd) /* assert(fdGetIo(fd) == ufdio) */
-
/** \ingroup rpmio
* \name RPMIO Vectors.
*/