diff options
author | Geoff Thorpe <geoff@openssl.org> | 2001-01-09 00:13:25 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2001-01-09 00:13:25 +0000 |
commit | 98d517c5dad7812f2df30f001356eb4cfa7fa6fc (patch) | |
tree | eb7027d5fd78a6892cf6152200cb79193be12620 /crypto/crypto.h | |
parent | 18602745de52e5869f3865245c3c72986831dae2 (diff) | |
download | openssl-new-98d517c5dad7812f2df30f001356eb4cfa7fa6fc.tar.gz |
Get rid of the function pointer casting in the debugging memory code due
to LHASH usage. NB: The callback type used as been suctioned off into
crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index 08bb1fc83e..96a852a703 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -374,7 +374,8 @@ void CRYPTO_mem_leaks_fp(FILE *); #endif void CRYPTO_mem_leaks(struct bio_st *bio); /* unsigned long order, char *file, int line, int num_bytes, char *addr */ -void CRYPTO_mem_leaks_cb(void (*cb)(unsigned long, const char *, int, int, void *)); +typedef void *CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *); +void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB cb); void ERR_load_CRYPTO_strings(void); |