summaryrefslogtreecommitdiff
path: root/build/rpmbuild_misc.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-02 11:19:46 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-02 11:19:46 +0300
commitfb81dee4c622298377e78270b839445df0144a73 (patch)
treeb69797f835127b6e283cdfdeaef09f1e8b43f76d /build/rpmbuild_misc.h
parent3c7d4f89bb68d68b9d775fc6623c3f1c342ac0bd (diff)
downloadrpm-fb81dee4c622298377e78270b839445df0144a73.tar.gz
rpm-fb81dee4c622298377e78270b839445df0144a73.tar.bz2
rpm-fb81dee4c622298377e78270b839445df0144a73.zip
Eliminate freeNames() from librpmbuild ABI
- Call freeNames() at end of buildSpec() instead of requiring API users to clean up after us. This does mean losing some of the supposed caching advantage when building on more than one spec, but hardly matters, one spec at a time is the typical build usage anyway.
Diffstat (limited to 'build/rpmbuild_misc.h')
-rw-r--r--build/rpmbuild_misc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/rpmbuild_misc.h b/build/rpmbuild_misc.h
index dae216aa4..0d2dcd255 100644
--- a/build/rpmbuild_misc.h
+++ b/build/rpmbuild_misc.h
@@ -7,9 +7,8 @@
/** \ingroup rpmbuild
* Destroy uid/gid caches.
- * @todo Get this out of the ABI
*/
-/* RPM_GNUC_INTERNAL XXX should be internal too but rpmbuild "needs" for now */
+RPM_GNUC_INTERNAL
void freeNames(void);
/** \ingroup rpmbuild