summaryrefslogtreecommitdiff
path: root/rpmio/rpmlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/rpmlog.c')
-rw-r--r--rpmio/rpmlog.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/rpmlog.c b/rpmio/rpmlog.c
index ed2091ee9..06710add9 100644
--- a/rpmio/rpmlog.c
+++ b/rpmio/rpmlog.c
@@ -23,18 +23,6 @@
static int nrecs = 0;
static rpmlogRec recs = NULL;
-/**
- * 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;
-}
-
int rpmlogGetNrecs(void)
{
return nrecs;