From ed4706b9b1d037724d8bb9a3d74b5523ad3b8983 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 14 Apr 2005 22:57:39 +0000 Subject: Cleanup. --- lib/gnutls_mem.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/gnutls_mem.h b/lib/gnutls_mem.h index ef04a388c5..f4e66f4262 100644 --- a/lib/gnutls_mem.h +++ b/lib/gnutls_mem.h @@ -55,15 +55,7 @@ typedef void svoid; /* for functions that allocate using gnutls_secure_malloc * # endif #endif /* HAVE_ALLOCA */ -extern gnutls_alloc_function gnutls_secure_malloc; -extern gnutls_alloc_function gnutls_malloc; -extern gnutls_free_function gnutls_free; - extern int (*_gnutls_is_secure_memory) (const void *); -extern gnutls_realloc_function gnutls_realloc; - -extern void *(*gnutls_calloc) (size_t, size_t); -extern char *(*gnutls_strdup) (const char *); /* this realloc function will return ptr if size==0, and * will free the ptr if the new allocation failed. @@ -71,8 +63,8 @@ extern char *(*gnutls_strdup) (const char *); void *gnutls_realloc_fast(void *ptr, size_t size); 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 *); #endif /* GNUTLS_MEM_H */ -- cgit v1.2.1