Make sure the function definitions match their declaration.
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Jun 2003 09:11:15 +0000 (09:11 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 4 Jun 2003 09:11:15 +0000 (09:11 +0000)
crypto/engine/eng_ctrl.c

index ad3858395beda489c2a7d6fec0c920d9be8dd054..d9104d3b0a1e07e4b9a315bb230861a36125d0ed 100644 (file)
@@ -177,7 +177,7 @@ static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p, void (*f)())
        return -1;
        }
 
-int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
+int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
        {
        int ctrl_exists, ref_exists;
        if(e == NULL)
@@ -247,7 +247,7 @@ int ENGINE_cmd_is_executable(ENGINE *e, int cmd)
        }
 
 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
-        long i, void *p, void (*f)(), int cmd_optional)
+        long i, void *p, void (*f)(void), int cmd_optional)
         {
        int num;