summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
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