diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 11:19:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 11:19:46 +0300 |
commit | fb81dee4c622298377e78270b839445df0144a73 (patch) | |
tree | b69797f835127b6e283cdfdeaef09f1e8b43f76d /build/rpmbuild_misc.h | |
parent | 3c7d4f89bb68d68b9d775fc6623c3f1c342ac0bd (diff) | |
download | rpm-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.h | 3 |
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 |