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/rpmdb.h | |
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/rpmdb.h')
-rw-r--r-- | lib/rpmdb.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/rpmdb.h b/lib/rpmdb.h index 8a5f13185..c130a4222 100644 --- a/lib/rpmdb.h +++ b/lib/rpmdb.h @@ -39,13 +39,6 @@ typedef enum rpmdbOpX_e { rpmop rpmdbOp(rpmdb db, rpmdbOpX opx); /** \ingroup rpmdb - * Unreference a database instance. - * @param db rpm database - * @return NULL always - */ -rpmdb rpmdbUnlink(rpmdb db); - -/** \ingroup rpmdb * Reference a database instance. * @param db rpm database * @return new rpm database reference |