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 5295cdd..06d2e16 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