Update mkstack.pl to match safestack.h
authorDr. Stephen Henson <steve@openssl.org>
Thu, 12 Mar 2015 14:05:27 +0000 (14:05 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 12 Mar 2015 14:05:27 +0000 (14:05 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
util/mkstack.pl

index 5295cddcb694e4c608e3dbba92f2d582d9414999..06d2e16ccc4c39e54ce9ad0a467e3902d3df42ee 100755 (executable)
@@ -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