Fix warning.
[openssl.git] / crypto / ec / ectest.c
index 834d54ab599ba413e1e42f7e7b3ab11b5bf82663..6dd1677967562efebd84d5dab5130db839d9df71 100644 (file)
@@ -234,7 +234,7 @@ static void group_order_tests(EC_GROUP *group)
        BN_CTX_free(ctx);
        }
 
-static void prime_field_tests()
+static void prime_field_tests(void)
        {       
        BN_CTX *ctx = NULL;
        BIGNUM *p, *a, *b;
@@ -777,7 +777,7 @@ static void prime_field_tests()
        if (!EC_GROUP_copy(_variable, group)) ABORT; \
 
 
-static void char2_field_tests()
+static void char2_field_tests(void)
        {       
        BN_CTX *ctx = NULL;
        BIGNUM *p, *a, *b;