Skip to content

Commit

Permalink
Fix warnings in public headers (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 authored May 15, 2023
1 parent 0f98a14 commit 14dda5e
Show file tree
Hide file tree
Showing 4 changed files with 10 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.40
BUILDER_VERSION: v0.9.43
BUILDER_SOURCE: releases
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
PACKAGE_NAME: aws-c-iot
Expand Down
3 changes: 3 additions & 0 deletions include/aws/iotdevice/device_defender.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include <aws/iotdevice/iotdevice.h>

AWS_PUSH_SANE_WARNING_LEVEL

struct aws_byte_cursor;
struct aws_array_list;
struct aws_event_loop;
Expand Down Expand Up @@ -369,5 +371,6 @@ AWS_IOTDEVICE_API
void aws_iotdevice_defender_task_clean_up(struct aws_iotdevice_defender_task *defender_task);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

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

#include <aws/mqtt/mqtt.h>

AWS_PUSH_SANE_WARNING_LEVEL

#define AWS_C_IOTDEVICE_PACKAGE_ID 13

enum aws_iotdevice_error {
Expand Down Expand Up @@ -66,5 +68,6 @@ AWS_IOTDEVICE_API
void aws_iotdevice_library_clean_up(void);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif
3 changes: 3 additions & 0 deletions include/aws/iotdevice/secure_tunneling.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

#define AWS_IOT_ST_SPLIT_MESSAGE_SIZE 15000

struct aws_secure_tunnel;
Expand Down Expand Up @@ -335,5 +337,6 @@ int aws_secure_tunnel_stream_reset(
const struct aws_secure_tunnel_message_view *message_options);

AWS_EXTERN_C_END
AWS_POP_SANE_WARNING_LEVEL

#endif /* AWS_IOTDEVICE_SECURE_TUNNELING_H */

0 comments on commit 14dda5e

Please sign in to comment.