summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-17 15:51:58 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-17 15:51:58 +0200
commite5f7b3264cb03d03ceb6e2100c117c7f37e01e9f (patch)
treefc3cb2eecc92c2102ecbdcc88d385b4cc6d18380 /lib
parent6193da9cad40dbbc1d7ce974ab9df96986a52183 (diff)
downloadlibrpm-tizen-e5f7b3264cb03d03ceb6e2100c117c7f37e01e9f.tar.gz
librpm-tizen-e5f7b3264cb03d03ceb6e2100c117c7f37e01e9f.tar.bz2
librpm-tizen-e5f7b3264cb03d03ceb6e2100c117c7f37e01e9f.zip
Eliminate now unnecessary rpmteFd()
- ...which should've never been exported in the first place
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmte.c5
-rw-r--r--lib/rpmte.h7
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 4dd50449e..4254ffab9 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -577,11 +577,6 @@ FD_t rpmteSetFd(rpmte te, FD_t fd)
return NULL;
}
-FD_t rpmteFd(rpmte te)
-{
- return (te != NULL ? te->fd : NULL);
-}
-
fnpyKey rpmteKey(rpmte te)
{
return (te != NULL ? te->key : NULL);
diff --git a/lib/rpmte.h b/lib/rpmte.h
index 15853e88d..a28fdde4c 100644
--- a/lib/rpmte.h
+++ b/lib/rpmte.h
@@ -323,13 +323,6 @@ const char * rpmteNEVR(rpmte te);
const char * rpmteNEVRA(rpmte te);
/** \ingroup rpmte
- * Retrieve file handle from transaction element.
- * @param te transaction element
- * @return file handle
- */
-FD_t rpmteFd(rpmte te);
-
-/** \ingroup rpmte
* Retrieve key from transaction element.
* @param te transaction element
* @return key