summaryrefslogtreecommitdiff
path: root/rpmio/url.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/url.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/url.c')
-rw-r--r--rpmio/url.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/url.c b/rpmio/url.c
index 8f5e8583a..1cc845581 100644
--- a/rpmio/url.c
+++ b/rpmio/url.c
@@ -31,18 +31,6 @@ int _url_debug = 0;
#define URLDBG(_f, _m, _x) if ((_url_debug | (_f)) & (_m)) fprintf _x
-/**
- * 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;
-}
-
urlinfo urlNew()
{
urlinfo u;