summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-05 07:11:02 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-05 07:11:02 +0200
commitdfc6fae6be0ed51c49d694887e1acda8662307be (patch)
treea434bd33d50648bd39250d4f483150937c239010 /rpmio
parentd4bea657c402a67a3ab2104c9ed1ae93314f3441 (diff)
downloadlibrpm-tizen-dfc6fae6be0ed51c49d694887e1acda8662307be.tar.gz
librpm-tizen-dfc6fae6be0ed51c49d694887e1acda8662307be.tar.bz2
librpm-tizen-dfc6fae6be0ed51c49d694887e1acda8662307be.zip
Remove fdFileno.
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio_internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h
index d47f06824..577296d8a 100644
--- a/rpmio/rpmio_internal.h
+++ b/rpmio/rpmio_internal.h
@@ -477,17 +477,6 @@ void fdFiniDigest(FD_t fd, pgpHashAlgo hashalgo,
fd->ndigests++; /* convert index to count */
}
-/** \ingroup rpmio
- */
-static inline
-int fdFileno(void * cookie)
-{
- FD_t fd;
- if (cookie == NULL) return -2;
- fd = c2f(cookie);
- return fd->fps[0].fdno;
-}
-
/**
* Read an entire file into a buffer.
* @param fn file name to read