Skip to content

Commit

Permalink
Fix warnings in public headers (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed May 15, 2023
1 parent 75fa71a commit 812761f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'main'

env:
BUILDER_VERSION: v0.9.26
BUILDER_VERSION: v0.9.43
BUILDER_SOURCE: releases
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
PACKAGE_NAME: aws-c-sdkutils
Expand Down
3 changes: 3 additions & 0 deletions include/aws/sdkutils/aws_profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define AWS_SDKUTILS_AWS_PROFILE_H
#include <aws/sdkutils/sdkutils.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_allocator;
struct aws_string;
struct aws_byte_buf;
Expand Down Expand Up @@ -214,5 +216,6 @@ AWS_SDKUTILS_API
struct aws_string *aws_get_profile_name(struct aws_allocator *allocator, const struct aws_byte_cursor *override_name);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_SDKUTILS_AWS_PROFILE_H */
3 changes: 3 additions & 0 deletions include/aws/sdkutils/endpoints_rule_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <aws/common/byte_buf.h>
#include <aws/sdkutils/sdkutils.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_endpoints_ruleset;
struct aws_partitions_config;
struct aws_endpoints_parameter;
Expand Down Expand Up @@ -299,5 +301,6 @@ AWS_SDKUTILS_API int aws_endpoints_resolved_endpoint_get_error(
struct aws_byte_cursor *out_error);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_SDKUTILS_ENDPOINTS_RULESET_H */
3 changes: 3 additions & 0 deletions include/aws/sdkutils/partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <aws/common/byte_buf.h>
#include <aws/sdkutils/sdkutils.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_partitions_config;

AWS_EXTERN_C_BEGIN
Expand All @@ -34,5 +36,6 @@ AWS_SDKUTILS_API struct aws_partitions_config *aws_partitions_config_acquire(str
AWS_SDKUTILS_API struct aws_partitions_config *aws_partitions_config_release(struct aws_partitions_config *partitions);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_SDKUTILS_PARTITIONS_H */
3 changes: 3 additions & 0 deletions include/aws/sdkutils/resource_name.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#include <aws/common/byte_buf.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_resource_name {
struct aws_byte_cursor partition;
struct aws_byte_cursor service;
Expand Down Expand Up @@ -40,5 +42,6 @@ AWS_SDKUTILS_API
int aws_byte_buf_append_resource_name(struct aws_byte_buf *buf, const struct aws_resource_name *arn);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_SDKUTILS_RESOURCE_NAME_H */
3 changes: 3 additions & 0 deletions include/aws/sdkutils/sdkutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#include <aws/sdkutils/exports.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_allocator;

#define AWS_C_SDKUTILS_PACKAGE_ID 15
Expand Down Expand Up @@ -47,5 +49,6 @@ AWS_SDKUTILS_API void aws_sdkutils_library_init(struct aws_allocator *allocator)
AWS_SDKUTILS_API void aws_sdkutils_library_clean_up(void);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_SDKUTILS_SDKUTILS_H */

0 comments on commit 812761f

Please sign in to comment.