Cleanup programs further
removed casting of main args to void
This commit is contained in:
parent
18b78c7498
commit
85b05ec389
47 changed files with 414 additions and 586 deletions
|
@ -85,11 +85,8 @@ int main( int argc, char *argv[] )
|
|||
return( 0 );
|
||||
}
|
||||
#elif defined(_WIN32)
|
||||
int main( int argc, char *argv[] )
|
||||
int main( void )
|
||||
{
|
||||
((void) argc);
|
||||
((void) argv);
|
||||
|
||||
polarssl_printf("_WIN32 defined. This application requires fork() and signals "
|
||||
"to work correctly.\n");
|
||||
return( 0 );
|
||||
|
@ -107,7 +104,7 @@ static void my_debug( void *ctx, int level, const char *str )
|
|||
}
|
||||
}
|
||||
|
||||
int main( int argc, char *argv[] )
|
||||
int main( void )
|
||||
{
|
||||
int ret, len, cnt = 0, pid;
|
||||
int listen_fd;
|
||||
|
@ -121,9 +118,6 @@ int main( int argc, char *argv[] )
|
|||
x509_crt srvcert;
|
||||
pk_context pkey;
|
||||
|
||||
((void) argc);
|
||||
((void) argv);
|
||||
|
||||
memset( &ssl, 0, sizeof(ssl_context) );
|
||||
|
||||
entropy_init( &entropy );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue