diff options
author | Panu Matilainen <Panu Matilainen pmatilai@redhat.com> | 2011-08-19 10:00:32 +0300 |
---|---|---|
committer | Panu Matilainen <Panu Matilainen pmatilai@redhat.com> | 2011-08-19 10:00:32 +0300 |
commit | 124c5d772aa6fe2515547ae6f8833c15dbf46d69 (patch) | |
tree | a26e57ded11eefacabef4f3546ddd34fdcff9a95 /rpmio | |
parent | 1f1e5e88a1f6c60cf2d11014d809000e97a63aad (diff) | |
download | rpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.tar.gz rpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.tar.bz2 rpm-124c5d772aa6fe2515547ae6f8833c15dbf46d69.zip |
Remove unused FDFOO macros
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmio.c | 10 |
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. */ |