projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bea65
)
Remove fdFileno.
author
Ralf Corsépius
<corsepiu@fedoraproject.org>
Fri, 5 Oct 2007 05:11:02 +0000
(07:11 +0200)
committer
Ralf Corsépius
<corsepiu@fedoraproject.org>
Fri, 5 Oct 2007 05:11:02 +0000
(07:11 +0200)
rpmio/rpmio_internal.h
patch
|
blob
|
history
diff --git
a/rpmio/rpmio_internal.h
b/rpmio/rpmio_internal.h
index
d47f068
..
577296d
100644
(file)
--- 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