aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-14 15:33:06 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-14 15:33:06 +0000
commit159564ae9fb1debd3558a114540a804b110c684b (patch)
treea2b4687f96062a12b96d6686c17f3780ea9dc33c /crypto/engine
parentcd1bf28e2cd9f3226ca090461eb0ff8c4c220aa0 (diff)
downloadopenssl-159564ae9fb1debd3558a114540a804b110c684b.tar.gz
Modify () to (void), since that's what is actually defined in the
engine structure, and some ANSI C compilers will complain otherwise.
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/hw_atalla.c4
-rw-r--r--crypto/engine/hw_cswift.c4
-rw-r--r--crypto/engine/hw_ncipher.c4
-rw-r--r--crypto/engine/hw_nuron.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/crypto/engine/hw_atalla.c b/crypto/engine/hw_atalla.c
index c1640ca000..4bea8e8cc1 100644
--- a/crypto/engine/hw_atalla.c
+++ b/crypto/engine/hw_atalla.c
@@ -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)
{
diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c
index cc723ac08e..ebb0ab0f77 100644
--- a/crypto/engine/hw_cswift.c
+++ b/crypto/engine/hw_cswift.c
@@ -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)
{
diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c
index 8799a747d0..0057ca966c 100644
--- a/crypto/engine/hw_ncipher.c
+++ b/crypto/engine/hw_ncipher.c
@@ -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)
diff --git a/crypto/engine/hw_nuron.c b/crypto/engine/hw_nuron.c
index b6242de444..504febc1a1 100644
--- a/crypto/engine/hw_nuron.c
+++ b/crypto/engine/hw_nuron.c
@@ -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)
{