From: Dr. Stephen Henson Date: Thu, 12 Mar 2015 14:05:27 +0000 (+0000) Subject: Update mkstack.pl to match safestack.h X-Git-Tag: OpenSSL_1_1_0-pre1~1547 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9c850c7343e3a492bce3c8bba25123537140b0a;p=openssl Update mkstack.pl to match safestack.h Reviewed-by: Rich Salz --- 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