aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-09-28 13:42:18 +0000
committerWerner Koch <[email protected]>2003-09-28 13:42:18 +0000
commitedb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f (patch)
tree8f36683f5fb7c44494e6ed8168672c7396a4bb2c /include/memory.h
parent* g10.c (main): New commands --card-edit, --card-status and (diff)
downloadgnupg-edb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f.tar.gz
gnupg-edb5762c5fcd8f5a6cf39bf01e0a8471e4117c2f.zip
* util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.
* dynload.h: New. Taken from 1.9.
Diffstat (limited to 'include/memory.h')
-rw-r--r--include/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h
index 2482d083f..56f34ad00 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -96,6 +96,8 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
#define xcalloc(n,m) m_alloc_clear ((n)*(m))
#define xmalloc_secure(n) m_alloc_secure (n)
#define xcalloc_secure(n) m_alloc_secure_clear ((n)*(m))
+#define xrealloc(a,n) m_realloc ((a),(n))
+#define xstrdup(a) m_strdup ((a))
#define xfree(a) m_free (a)