projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid warning about empty structures and always define CHECKED_PTR_OF
[openssl.git]
/
crypto
/
lhash
/
lhash.h
diff --git
a/crypto/lhash/lhash.h
b/crypto/lhash/lhash.h
index ac1c400ee04bae1f2aa99e7dc2b0a5d226146f22..558c11c6e4cdd24ef9700cb41f225bf22362d432 100644
(file)
--- 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))