From ad712bc61d1fadc6fd09e5bcbf8c7f93e0dda96c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 8 Jun 2002 20:34:12 +0000 Subject: Removed gnutls_strdup(). Replaced with a pointer to libc's strdup() function. --- lib/gnutls_mem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/gnutls_mem.h') diff --git a/lib/gnutls_mem.h b/lib/gnutls_mem.h index 1f501dbd7d..b8c5248bd9 100644 --- a/lib/gnutls_mem.h +++ b/lib/gnutls_mem.h @@ -24,12 +24,11 @@ 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 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); -char* gnutls_strdup( const char* s); - #endif /* GNUTLS_MEM_H */ -- cgit v1.2.1