File tree 3 files changed +3
-3
lines changed
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 {
62
62
* Implicitly registers error strings for aws-c-common as well.
63
63
*/
64
64
AWS_CRYPTOSDK_API
65
- void aws_cryptosdk_load_error_strings ();
65
+ void aws_cryptosdk_load_error_strings (void );
66
66
67
67
#ifdef __cplusplus
68
68
}
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
470
470
return AWS_ERROR_SUCCESS ;
471
471
}
472
472
473
- static inline void flush_openssl_errors () {
473
+ static inline void flush_openssl_errors (void ) {
474
474
while (ERR_get_error () != 0 ) {
475
475
}
476
476
}
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ static const struct aws_error_info error_info[] = {
39
39
static const struct aws_error_info_list error_info_list = { .error_list = error_info ,
40
40
.count = sizeof (error_info ) / sizeof (error_info [0 ]) };
41
41
42
- void aws_cryptosdk_load_error_strings () {
42
+ void aws_cryptosdk_load_error_strings (void ) {
43
43
aws_register_error_info (& error_info_list );
44
44
}
You can’t perform that action at this time.
0 commit comments