summaryrefslogtreecommitdiffstats
path: root/crypto/lhash
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-05-27 11:28:49 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-05-27 11:28:49 +0000
commit0a56761f1942ca27e7a573a1a083e20910eba996 (patch)
treebf01c0453a06f8002c380a2bdfc63edd53a9e390 /crypto/lhash
parent220903f92e1b8fae5d8b9b8ee23bec828d03b7d9 (diff)
Avoid warning about empty structures and always define CHECKED_PTR_OF
Diffstat (limited to 'crypto/lhash')
-rw-r--r--crypto/lhash/lhash.h2
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))