Skip to content

Commit

Permalink
fix compiler warnings from MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Jun 12, 2024
1 parent 1a74ec8 commit 5334418
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/credentials.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "credentials.h"

aws_crt_credentials_options *aws_crt_credentials_options_new() {
aws_crt_credentials_options *aws_crt_credentials_options_new(void) {
return aws_crt_resource_new(sizeof(aws_crt_credentials_options));
}

Expand Down
4 changes: 2 additions & 2 deletions src/credentials_providers.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ aws_crt_credentials_provider *aws_crt_credentials_provider_static_new(
return provider;
}

aws_crt_credentials_provider_environment_options *aws_crt_credentials_provider_environment_options_new() {
aws_crt_credentials_provider_environment_options *aws_crt_credentials_provider_environment_options_new(void) {
return aws_crt_resource_new(sizeof(aws_crt_credentials_provider_environment_options));
}

Expand All @@ -81,7 +81,7 @@ aws_crt_credentials_provider *aws_crt_credentials_provider_environment_new(
return provider;
}

aws_crt_credentials_provider_profile_options *aws_crt_credentials_provider_profile_options_new() {
aws_crt_credentials_provider_profile_options *aws_crt_credentials_provider_profile_options_new(void) {
return aws_crt_resource_new(sizeof(aws_crt_credentials_provider_profile_options));
}

Expand Down
2 changes: 1 addition & 1 deletion src/event_loop_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct _aws_crt_event_loop_group {
struct aws_event_loop_group *elg;
};

aws_crt_event_loop_group_options *aws_crt_event_loop_group_options_new() {
aws_crt_event_loop_group_options *aws_crt_event_loop_group_options_new(void) {
return aws_crt_resource_new(sizeof(aws_crt_event_loop_group_options));
}

Expand Down
2 changes: 1 addition & 1 deletion src/input_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "input_stream.h"

aws_crt_input_stream_options *aws_crt_input_stream_options_new() {
aws_crt_input_stream_options *aws_crt_input_stream_options_new(void) {
aws_crt_input_stream_options *options = aws_crt_resource_new(sizeof(aws_crt_input_stream_options));
return options;
}
Expand Down

0 comments on commit 5334418

Please sign in to comment.