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 <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4744)
This commit is contained in:
FdaSilvaYY 2017-11-15 21:04:12 +01:00 committed by Andy Polyakov
parent a78324d95b
commit 899e62d186

View File

@ -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;