diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 14:13:10 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 14:13:10 +0300 |
commit | 8d448745f053103ce3fbcf16f014cc376be8ddcf (patch) | |
tree | 460ce148a07902dbd79ffc4d4e9d1218647af42b /build/rpmbuild.h | |
parent | e677ea1ea86cb3202256e7657066538d3b1b2705 (diff) | |
download | librpm-tizen-8d448745f053103ce3fbcf16f014cc376be8ddcf.tar.gz librpm-tizen-8d448745f053103ce3fbcf16f014cc376be8ddcf.tar.bz2 librpm-tizen-8d448745f053103ce3fbcf16f014cc376be8ddcf.zip |
Eliminate freePackage() from librpmbuild API
- The only thing that should ever call this is freePackages() which
was already made static. As newPackage() links the package structure
with the spec, its not safe for others to call it.
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r-- | build/rpmbuild.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h index 7d37d8f6a..dd4c84f06 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -284,13 +284,6 @@ rpmRC lookupPackage(rpmSpec spec, const char * name, int flag, Package newPackage(rpmSpec spec); /** \ingroup rpmbuild - * Destroy package control structure. - * @param pkg package control structure - * @return NULL - */ -Package freePackage(Package pkg); - -/** \ingroup rpmbuild * Add dependency to header, filtering duplicates. * @param spec spec file control structure * @param h header |