File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ enum aws_cryptosdk_err {
6262 * Implicitly registers error strings for aws-c-common as well. 
6363 */ 
6464AWS_CRYPTOSDK_API 
65- void  aws_cryptosdk_load_error_strings ();
65+ void  aws_cryptosdk_load_error_strings (void );
6666
6767#ifdef  __cplusplus 
6868}
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ static int evp_gcm_encrypt_final(const struct aws_cryptosdk_alg_properties *prop
470470    return  AWS_ERROR_SUCCESS ;
471471}
472472
473- static  inline  void  flush_openssl_errors () {
473+ static  inline  void  flush_openssl_errors (void ) {
474474    while  (ERR_get_error () !=  0 ) {
475475    }
476476}
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ static const struct aws_error_info error_info[] = {
3939static  const  struct  aws_error_info_list  error_info_list  =  { .error_list  =  error_info ,
4040                                                            .count       =  sizeof (error_info ) / sizeof (error_info [0 ]) };
4141
42- void  aws_cryptosdk_load_error_strings () {
42+ void  aws_cryptosdk_load_error_strings (void ) {
4343    aws_register_error_info (& error_info_list );
4444}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments