diff options
author | Werner Koch <[email protected]> | 2014-08-26 15:56:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-08-26 15:56:44 +0000 |
commit | 7fdca61bcf60e730177889fbbd2f935ba33ae0c3 (patch) | |
tree | 80e9fcb444debc32dd1569bf033dad9dbaf28c7a /src/estream-printf.c | |
parent | Export missing init functions. (diff) | |
download | libgpg-error-7fdca61bcf60e730177889fbbd2f935ba33ae0c3.tar.gz libgpg-error-7fdca61bcf60e730177889fbbd2f935ba33ae0c3.zip |
Add gpgrt_set_alloc_func.
* src/visibility.c (gpgrt_set_alloc_func): New.
* configure.ac (_ESTREAM_PRINTF_REALLOC): Define.
(_ESTREAM_PRINTF_EXTRA_INCLUDE): Define.
* src/estream.c (mem_alloc, mem_realloc, mem_free): Simplify.
(_gpgrt_free): Remove.
* src/init.c (custom_realloc): New var.
(_gpgrt_set_alloc_func): New.
(_gpgrt_realloc, _gpgrt_malloc, _gpgrt_free): New.
* src/visibility.h (gpg_err_deinit): Mark as visible.
Diffstat (limited to 'src/estream-printf.c')
-rw-r--r-- | src/estream-printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/estream-printf.c b/src/estream-printf.c index b1eb828..39a813f 100644 --- a/src/estream-printf.c +++ b/src/estream-printf.c @@ -446,7 +446,7 @@ compute_type (argspec_t arg) at the address ARGSPECS_ADDR. The caller has provided enough space to store up to MAX_ARGSPECS in that buffer. The function may however ignore the provided buffer and malloc a larger one. On - success the addrrss of that larger buffer will be stored at + success the address of that larger buffer will be stored at ARGSPECS_ADDR. The actual number of specifications will be returned at R_ARGSPECS_COUNT. */ static int |