summaryrefslogtreecommitdiff
path: root/lib/gnutls_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_mem.h')
-rw-r--r--lib/gnutls_mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_mem.h b/lib/gnutls_mem.h
index aa0ab8e89a..d9cbeb3358 100644
--- a/lib/gnutls_mem.h
+++ b/lib/gnutls_mem.h
@@ -25,6 +25,8 @@ void (*gnutls_free)(void*);
int (*_gnutls_is_secure_memory)(const void*);
void* (*gnutls_realloc)(void*, size_t);
+#define gnutls_realloc_fast(x, y) (y==0?x:realloc(x, y))
+
svoid* gnutls_secure_calloc( size_t nmemb, size_t size);
void* gnutls_calloc( size_t nmemb, size_t size);