summaryrefslogtreecommitdiff
path: root/lib/gnutls_mem.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-09 08:54:21 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-09 08:54:21 +0000
commit27c0d00eb23c5d6c07551d94bfea2766101c909c (patch)
tree7eaf24875021fcf88ea3ab4b623099f9d78f5a7f /lib/gnutls_mem.h
parent1a3711cb70edc22417d6017b8d48d5c24f431c73 (diff)
downloadgnutls-27c0d00eb23c5d6c07551d94bfea2766101c909c.tar.gz
Added check for C99 macro support. Stubs are used if they are not supported by the compile. A more elegant solution is required.
Diffstat (limited to 'lib/gnutls_mem.h')
-rw-r--r--lib/gnutls_mem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_mem.h b/lib/gnutls_mem.h
index cafd5d1232..88a255c182 100644
--- a/lib/gnutls_mem.h
+++ b/lib/gnutls_mem.h
@@ -24,12 +24,13 @@ extern void* (*gnutls_malloc)(size_t);
extern void (*gnutls_free)(void*);
extern int (*_gnutls_is_secure_memory)(const void*);
extern void* (*gnutls_realloc)(void*, size_t);
+extern void* (*gnutls_calloc)(size_t, size_t);
extern char* (*gnutls_strdup)( const char*);
#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);
+void* _gnutls_calloc( size_t nmemb, size_t size);
char* _gnutls_strdup( const char*);