summaryrefslogtreecommitdiff
path: root/lib/rpmps.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/rpmps.c
parente82ab8f81dcbfb94d94d4a5c8cb7813919d7f460 (diff)
downloadrpm-92c12d1a8ef11106df69b07ca357c560e07e9efd.tar.gz
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/rpmps.c')
-rw-r--r--lib/rpmps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c
index e7a0bf0ed..6e1ab182c 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -25,7 +25,7 @@ struct rpmpsi_s {
};
-rpmps rpmpsUnlink(rpmps ps)
+static rpmps rpmpsUnlink(rpmps ps)
{
if (ps) {
ps->nrefs--;