From: FdaSilvaYY Date: Wed, 15 Nov 2017 20:04:12 +0000 (+0100) Subject: Fix AppVeyor/VC build failure X-Git-Tag: OpenSSL_1_1_1-pre1~429 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=899e62d1866bc108f488f74e85dcc5a0d6e7ca99;p=oweals%2Fopenssl.git Fix AppVeyor/VC build failure ..\test\asn1_internal_test.c(96): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(void)' Reviewed-by: Andy Polyakov Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4744) --- diff --git a/test/asn1_internal_test.c b/test/asn1_internal_test.c index 34f7349114..ab4dc353c4 100644 --- a/test/asn1_internal_test.c +++ b/test/asn1_internal_test.c @@ -26,7 +26,7 @@ #include "../crypto/asn1/tbl_standard.h" -static int test_tbl_standard() +static int test_tbl_standard(void) { const ASN1_STRING_TABLE *tmp; int last_nid = -1; @@ -62,7 +62,7 @@ static int test_tbl_standard() #include "internal/asn1_int.h" #include "../crypto/asn1/standard_methods.h" -static int test_standard_methods() +static int test_standard_methods(void) { const EVP_PKEY_ASN1_METHOD **tmp; int last_pkey_id = -1;