summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-22 14:36:35 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-22 14:36:35 +0200
commit33685ef74eaebabb2b6c609cc0313a540b9ba3ff (patch)
treeb4537ff1209c8afabc3aff92b83583383a63c51d /system.h
parentcef9afbf2ab652e3a8d9f1aa96d517036408d81b (diff)
downloadlibrpm-tizen-33685ef74eaebabb2b6c609cc0313a540b9ba3ff.tar.gz
librpm-tizen-33685ef74eaebabb2b6c609cc0313a540b9ba3ff.tar.bz2
librpm-tizen-33685ef74eaebabb2b6c609cc0313a540b9ba3ff.zip
Kill off last remaining uses of _constfree()
- practially all the data in rpmfi needs to be treated as const, these are just a funky special case which point to header memory for the couple of cases where KEEPHEADER is still used
Diffstat (limited to 'system.h')
-rw-r--r--system.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/system.h b/system.h
index dc053eec1..f87d4ddaa 100644
--- a/system.h
+++ b/system.h
@@ -246,7 +246,6 @@ typedef void * cap_t;
#define xrealloc(_ptr, _size) rrealloc((_ptr), (_size))
#define xstrdup(_str) rstrdup((_str))
#define _free(_ptr) rfree((_ptr))
-#define _constfree(_ptr) rfree((void *)(_ptr))
/* Retrofit glibc __progname */
#if defined __GLIBC__ && __GLIBC__ >= 2