summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-13 13:08:33 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-13 13:08:33 +0300
commit92c12d1a8ef11106df69b07ca357c560e07e9efd (patch)
tree6867bea60ddb7de9799fea10acfd791f7a955c32 /lib/rpmds.c
parente82ab8f81dcbfb94d94d4a5c8cb7813919d7f460 (diff)
downloadlibrpm-tizen-92c12d1a8ef11106df69b07ca357c560e07e9efd.tar.gz
librpm-tizen-92c12d1a8ef11106df69b07ca357c560e07e9efd.tar.bz2
librpm-tizen-92c12d1a8ef11106df69b07ca357c560e07e9efd.zip
Eliminate all fooUnlink() functions out of the API
- These are internal helpers only, all refcount users need to use fooFree() or similar for correct operation. Add fwd declarations where necessary to avoid moving code around unnecessarily. - We could add these back later as aliases to fooFree() but for now, just get them out of the way.
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index d18303824..c355300a6 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -74,7 +74,7 @@ static int dsType(rpmTag tag,
return rc;
}
-rpmds rpmdsUnlink(rpmds ds)
+static rpmds rpmdsUnlink(rpmds ds)
{
if (ds)
ds->nrefs--;