Modify () to (void), since that's what is actually defined in the

engine structure, and some ANSI C compilers will complain otherwise.
This commit is contained in:
Richard Levitte 2000-11-14 15:33:06 +00:00
parent cd1bf28e2c
commit 159564ae9f
4 changed files with 8 additions and 8 deletions

View File

@ -216,7 +216,7 @@ static tfnASI_RSAPrivateKeyOpFn *p_Atalla_RSAPrivateKeyOpFn = NULL;
static tfnASI_GetPerformanceStatistics *p_Atalla_GetPerformanceStatistics = NULL; static tfnASI_GetPerformanceStatistics *p_Atalla_GetPerformanceStatistics = NULL;
/* (de)initialisation functions. */ /* (de)initialisation functions. */
static int atalla_init() static int atalla_init(void)
{ {
tfnASI_GetHardwareConfig *p1; tfnASI_GetHardwareConfig *p1;
tfnASI_RSAPrivateKeyOpFn *p2; tfnASI_RSAPrivateKeyOpFn *p2;
@ -275,7 +275,7 @@ err:
return 0; return 0;
} }
static int atalla_finish() static int atalla_finish(void)
{ {
if(atalla_dso == NULL) if(atalla_dso == NULL)
{ {

View File

@ -251,7 +251,7 @@ static void release_context(SW_CONTEXT_HANDLE hac)
} }
/* (de)initialisation functions. */ /* (de)initialisation functions. */
static int cswift_init() static int cswift_init(void)
{ {
SW_CONTEXT_HANDLE hac; SW_CONTEXT_HANDLE hac;
t_swAcquireAccContext *p1; t_swAcquireAccContext *p1;
@ -308,7 +308,7 @@ err:
return 0; return 0;
} }
static int cswift_finish() static int cswift_finish(void)
{ {
if(cswift_dso == NULL) if(cswift_dso == NULL)
{ {

View File

@ -376,7 +376,7 @@ static void release_context(HWCryptoHook_ContextHandle hac)
} }
/* (de)initialisation functions. */ /* (de)initialisation functions. */
static int hwcrhk_init() static int hwcrhk_init(void)
{ {
HWCryptoHook_Init_t *p1; HWCryptoHook_Init_t *p1;
HWCryptoHook_Finish_t *p2; HWCryptoHook_Finish_t *p2;
@ -475,7 +475,7 @@ err:
return 0; return 0;
} }
static int hwcrhk_finish() static int hwcrhk_finish(void)
{ {
int to_return = 1; int to_return = 1;
if(hwcrhk_dso == NULL) if(hwcrhk_dso == NULL)

View File

@ -72,7 +72,7 @@ static tfnModExp *pfnModExp = NULL;
static DSO *pvDSOHandle = NULL; static DSO *pvDSOHandle = NULL;
static int nuron_init() static int nuron_init(void)
{ {
if(pvDSOHandle != NULL) if(pvDSOHandle != NULL)
{ {
@ -98,7 +98,7 @@ static int nuron_init()
return 1; return 1;
} }
static int nuron_finish() static int nuron_finish(void)
{ {
if(pvDSOHandle == NULL) if(pvDSOHandle == NULL)
{ {