summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-04-14 22:57:39 +0000
committerSimon Josefsson <simon@josefsson.org>2005-04-14 22:57:39 +0000
commited4706b9b1d037724d8bb9a3d74b5523ad3b8983 (patch)
tree2cf78b8839950cf201d9dba81887e060d7660316
parent5301329329e5f750cde1c76264402754ca8fbc70 (diff)
downloadgnutls-ed4706b9b1d037724d8bb9a3d74b5523ad3b8983.tar.gz
Cleanup.
-rw-r--r--lib/gnutls_mem.h10
1 files changed, 1 insertions, 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 */