summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/macro.c')
-rw-r--r--rpmio/macro.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 7d6b89208..fd18b2473 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -90,18 +90,6 @@ int print_expand_trace = _PRINT_EXPAND_TRACE;
/* forward ref */
static int expandMacro(MacroBuf mb);
-/**
- * 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;
-}
-
/* =============================================================== */
/**