diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-05-27 11:28:49 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-05-27 11:28:49 +0000 |
commit | 0a56761f1942ca27e7a573a1a083e20910eba996 (patch) | |
tree | bf01c0453a06f8002c380a2bdfc63edd53a9e390 /crypto/lhash/lhash.h | |
parent | 220903f92e1b8fae5d8b9b8ee23bec828d03b7d9 (diff) | |
download | openssl-0a56761f1942ca27e7a573a1a083e20910eba996.tar.gz |
Avoid warning about empty structures and always define CHECKED_PTR_OF
Diffstat (limited to 'crypto/lhash/lhash.h')
-rw-r--r-- | crypto/lhash/lhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lhash/lhash.h b/crypto/lhash/lhash.h index ac1c400ee0..558c11c6e4 100644 --- a/crypto/lhash/lhash.h +++ b/crypto/lhash/lhash.h @@ -198,7 +198,7 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out); #define LHASH_OF(type) struct lhash_st_##type -#define DECLARE_LHASH_OF(type) LHASH_OF(type) { } +#define DECLARE_LHASH_OF(type) LHASH_OF(type) { int dummy; } #define CHECKED_LHASH_OF(type,lh) \ ((_LHASH *)CHECKED_PTR_OF(LHASH_OF(type),lh)) |