include/openssl/macros.h: Remove the PEDANTIC OPENSSL_FUNC definition
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Sep 2019 19:51:17 +0000 (21:51 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 12 Sep 2019 15:59:52 +0000 (17:59 +0200)
commitc659882c9892788085fcdd4e8c47f98c01edf9ad
tree14b6b0fcdafc2f19d6cab88702bff950975cff84
parent0cd1b144f99e9aabea15a158bd567cba81592039
include/openssl/macros.h: Remove the PEDANTIC OPENSSL_FUNC definition

There was a section to define OPENSSL_FUNC that depended on PEDANTIC
being defined.  That is an internal build macro that should never
appear in a public header.  The solution was simple, replace it with
a check of __STRICT_ANSI__.

Fixes #9756

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9756)
include/openssl/macros.h