diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-18 23:21:01 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-18 23:21:01 +0200 |
commit | 03576e6f9fd8614e630fc84bffe239b32eee7112 (patch) | |
tree | b394f270d02d6504bda2cc5ea18c8ee024fc4132 | |
parent | 47810e5efa60fe3fabb1527d68e77fe704ca99b5 (diff) | |
download | rpm-03576e6f9fd8614e630fc84bffe239b32eee7112.tar.gz rpm-03576e6f9fd8614e630fc84bffe239b32eee7112.tar.bz2 rpm-03576e6f9fd8614e630fc84bffe239b32eee7112.zip |
Lose leftovers from former rpmal implementation
-rw-r--r-- | lib/rpmal.c | 7 | ||||
-rw-r--r-- | lib/rpmal.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c index e792ddf45..9ed6a1e94 100644 --- a/lib/rpmal.c +++ b/lib/rpmal.c @@ -17,9 +17,6 @@ typedef struct availablePackage_s * availablePackage; typedef int rpmalNum; -int _rpmal_debug = 0; - - /** \ingroup rpmdep * Info about a single package to be installed. */ @@ -27,7 +24,6 @@ struct availablePackage_s { rpmte p; /*!< transaction member */ rpmds provides; /*!< Provides: dependencies. */ rpmfi fi; /*!< File info set. */ - fnpyKey key; /*!< Associated file name/python object */ }; typedef struct availableIndexEntry_s * availableIndexEntry; @@ -229,9 +225,6 @@ void rpmalAdd(rpmal al, rpmte p) alp->p = p; - if (_rpmal_debug) - fprintf(stderr, "*** add %p[%d]\n", al->list, (int) pkgNum); - alp->provides = rpmdsLink(rpmteDS(p, RPMTAG_PROVIDENAME), RPMDBG_M("Provides (rpmalAdd)")); alp->fi = rpmfiLink(rpmteFI(p), RPMDBG_M("Files (rpmalAdd)")); diff --git a/lib/rpmal.h b/lib/rpmal.h index 630509e07..d389c7475 100644 --- a/lib/rpmal.h +++ b/lib/rpmal.h @@ -12,10 +12,7 @@ extern "C" { #endif -extern int _rpmal_debug; - typedef struct rpmal_s * rpmal; -typedef void * rpmalKey; /** * Initialize available packckages, items, and directory list. |