diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-01 17:29:27 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-01 17:29:27 +0300 |
commit | 2c4976a5286a9e0692106965156492eeacbe0799 (patch) | |
tree | 7391403e7449c2238820a6809bc0b585753953e0 /build/spec.c | |
parent | cf802b677e78f94718484da102cbf007982cb856 (diff) | |
download | librpm-tizen-2c4976a5286a9e0692106965156492eeacbe0799.tar.gz librpm-tizen-2c4976a5286a9e0692106965156492eeacbe0799.tar.bz2 librpm-tizen-2c4976a5286a9e0692106965156492eeacbe0799.zip |
Rename freeSpec() -> rpmSpecFree() for namespacing
- librpmbuild actually now has what remotely resembles an API, after
we broke every single thing there was ;)
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/spec.c b/build/spec.c index a0cd512e1..7c3180861 100644 --- a/build/spec.c +++ b/build/spec.c @@ -248,7 +248,7 @@ rpmSpec newSpec(void) return spec; } -rpmSpec freeSpec(rpmSpec spec) +rpmSpec rpmSpecFree(rpmSpec spec) { if (spec == NULL) return NULL; @@ -291,7 +291,7 @@ rpmSpec freeSpec(rpmSpec spec) if (spec->BASpecs != NULL) while (spec->BACount--) { spec->BASpecs[spec->BACount] = - freeSpec(spec->BASpecs[spec->BACount]); + rpmSpecFree(spec->BASpecs[spec->BACount]); } spec->BASpecs = _free(spec->BASpecs); } @@ -332,6 +332,6 @@ int rpmspecQuery(rpmts ts, QVA_t qva, const char * arg) xx = qva->qva_showPackage(qva, ts, pkg->header); exit: - spec = freeSpec(spec); + spec = rpmSpecFree(spec); return res; } |