diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-13 13:08:33 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-13 13:08:33 +0300 |
commit | 92c12d1a8ef11106df69b07ca357c560e07e9efd (patch) | |
tree | 6867bea60ddb7de9799fea10acfd791f7a955c32 /lib/rpmps.c | |
parent | e82ab8f81dcbfb94d94d4a5c8cb7813919d7f460 (diff) | |
download | librpm-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/rpmps.c')
-rw-r--r-- | lib/rpmps.c | 2 |
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--; |