summaryrefslogtreecommitdiff
path: root/rpmio/rpmio.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-09-20 15:37:48 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-09-20 15:37:48 +0300
commit154a7f7603dca24ee56d66f3ca6b2b2757f29cd9 (patch)
treee80bfb8429517b10e53b1f53717ad4dd8ae25a38 /rpmio/rpmio.c
parente53ceb6706125bead8630ba52f232c792ca1fdae (diff)
downloadlibrpm-tizen-154a7f7603dca24ee56d66f3ca6b2b2757f29cd9.tar.gz
librpm-tizen-154a7f7603dca24ee56d66f3ca6b2b2757f29cd9.tar.bz2
librpm-tizen-154a7f7603dca24ee56d66f3ca6b2b2757f29cd9.zip
Move _free() into system.h for now
- get rid of dozen _free() definitions - get _free() out of public headers
Diffstat (limited to 'rpmio/rpmio.c')
-rw-r--r--rpmio/rpmio.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index f7ab21d6f..a565c6471 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -70,18 +70,6 @@ int noLibio = 1;
*/
int _rpmio_debug = 0;
-/**
- * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
- * @param p memory to free
- * @retval NULL always
- */
-static inline void *
-_free(const void * p)
-{
- if (p != NULL) free((void *)p);
- return NULL;
-}
-
/* =============================================================== */
static const char * fdbg(FD_t fd)