summaryrefslogtreecommitdiff
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-01-09 00:13:25 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-01-09 00:13:25 +0000
commit98d517c5dad7812f2df30f001356eb4cfa7fa6fc (patch)
treeeb7027d5fd78a6892cf6152200cb79193be12620 /crypto/crypto.h
parent18602745de52e5869f3865245c3c72986831dae2 (diff)
downloadopenssl-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.h3
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);