Modify () to (void), since that's what is actually defined in the
authorRichard Levitte <levitte@openssl.org>
Tue, 14 Nov 2000 15:33:06 +0000 (15:33 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 14 Nov 2000 15:33:06 +0000 (15:33 +0000)
engine structure, and some ANSI C compilers will complain otherwise.

crypto/engine/hw_atalla.c
crypto/engine/hw_cswift.c
crypto/engine/hw_ncipher.c
crypto/engine/hw_nuron.c

index c1640ca00035260f4db3eb7e654b93d26c2aa80c..4bea8e8cc18795d8d72fdea2fd45fd69bf03a1d6 100644 (file)
@@ -216,7 +216,7 @@ static tfnASI_RSAPrivateKeyOpFn *p_Atalla_RSAPrivateKeyOpFn = NULL;
 static tfnASI_GetPerformanceStatistics *p_Atalla_GetPerformanceStatistics = NULL;
 
 /* (de)initialisation functions. */
-static int atalla_init()
+static int atalla_init(void)
        {
        tfnASI_GetHardwareConfig *p1;
        tfnASI_RSAPrivateKeyOpFn *p2;
@@ -275,7 +275,7 @@ err:
        return 0;
        }
 
-static int atalla_finish()
+static int atalla_finish(void)
        {
        if(atalla_dso == NULL)
                {
index cc723ac08ee5e87b1dd94bb8c3ed2faa142dc93c..ebb0ab0f779fbbe1ebafa735ade121b4b57fc454 100644 (file)
@@ -251,7 +251,7 @@ static void release_context(SW_CONTEXT_HANDLE hac)
        }
 
 /* (de)initialisation functions. */
-static int cswift_init()
+static int cswift_init(void)
        {
         SW_CONTEXT_HANDLE hac;
         t_swAcquireAccContext *p1;
@@ -308,7 +308,7 @@ err:
        return 0;
        }
 
-static int cswift_finish()
+static int cswift_finish(void)
        {
        if(cswift_dso == NULL)
                {
index 8799a747d071d5d7ab37808ca65e98da4d74c768..0057ca966c68958828a1a4930997169e1b10629b 100644 (file)
@@ -376,7 +376,7 @@ static void release_context(HWCryptoHook_ContextHandle hac)
        }
 
 /* (de)initialisation functions. */
-static int hwcrhk_init()
+static int hwcrhk_init(void)
        {
        HWCryptoHook_Init_t *p1;
        HWCryptoHook_Finish_t *p2;
@@ -475,7 +475,7 @@ err:
        return 0;
        }
 
-static int hwcrhk_finish()
+static int hwcrhk_finish(void)
        {
        int to_return = 1;
        if(hwcrhk_dso == NULL)
index b6242de444907814725ed1f4ac049d58f8f66b2c..504febc1a12ceab9d3e3357b07a8a2e5d44a22fa 100644 (file)
@@ -72,7 +72,7 @@ static tfnModExp *pfnModExp = NULL;
 
 static DSO *pvDSOHandle = NULL;
 
-static int nuron_init()
+static int nuron_init(void)
        {
        if(pvDSOHandle != NULL)
                {
@@ -98,7 +98,7 @@ static int nuron_init()
        return 1;
        }
 
-static int nuron_finish()
+static int nuron_finish(void)
        {
        if(pvDSOHandle == NULL)
                {