summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-12 14:05:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-12 14:05:27 +0000
commitf9c850c7343e3a492bce3c8bba25123537140b0a (patch)
tree55e2c906707401f3c8d7c5d13071fbf0ad0adcbe /util
parent5dc1247a7494f50c88ce7492518bbe0ce6f124fa (diff)
Update mkstack.pl to match safestack.h
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/mkstack.pl12
1 files changed, 2 insertions, 10 deletions
diff --git a/util/mkstack.pl b/util/mkstack.pl
index 5295cddcb6..06d2e16ccc 100755
--- a/util/mkstack.pl
+++ b/util/mkstack.pl
@@ -134,16 +134,8 @@ extern "C" {
# define STACK_OF(type) struct stack_st_##type
# define PREDECLARE_STACK_OF(type) STACK_OF(type);
-# define DECLARE_STACK_OF(type) \
-STACK_OF(type) \
- { \
- _STACK stack; \
- };
-# define DECLARE_SPECIAL_STACK_OF(type, type2) \
-STACK_OF(type) \
- { \
- _STACK stack; \
- };
+# define DECLARE_STACK_OF(type) STACK_OF(type);
+# define DECLARE_SPECIAL_STACK_OF(type, type2) STACK_OF(type);
/*-
* Strings are special: normally an lhash entry will point to a single