diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-08-05 03:40:03 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-08-05 03:40:03 +0000 |
commit | 0bc98d35418825ba91cc3487a21c7cddd98eeb2c (patch) | |
tree | c9d4fe653c3e448f5ea87657928f21a744917817 | |
parent | 6d97f69c33c044c80b90cbce25233929f7633cd8 (diff) | |
download | gnutls-0bc98d35418825ba91cc3487a21c7cddd98eeb2c.tar.gz |
(gnutls_global_set_mem_functions): Use typedefs in prototype, for gdoc.
-rw-r--r-- | lib/gnutls_global.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c index 90de8b969d..855c4a1715 100644 --- a/lib/gnutls_global.c +++ b/lib/gnutls_global.c @@ -107,13 +107,11 @@ int _gnutls_is_secure_mem_null(const void *); * This function must be called before gnutls_global_init() is called. * **/ -void gnutls_global_set_mem_functions(void *(*gnutls_alloc_func) (size_t), void - *(*gnutls_secure_alloc_func) (size_t), - int (*gnutls_is_secure_func) (const - void *), - void *(*gnutls_realloc_func) (void *, - size_t), - void (*gnutls_free_func) (void *)) +void gnutls_global_set_mem_functions(gnutls_alloc_function gnutls_alloc_func, + gnutls_alloc_function gnutls_secure_alloc_func, + gnutls_is_secure_function gnutls_is_secure_func, + gnutls_realloc_function gnutls_realloc_func, + gnutls_free_function gnutls_free_func) { gnutls_secure_malloc = gnutls_secure_alloc_func; gnutls_malloc = gnutls_alloc_func; |