Skip to content

Commit b594f62

Browse files
committed
Fix include styles
1 parent 8af2178 commit b594f62

File tree

84 files changed

+111
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+111
-106
lines changed

modules/aws-iot-call/src/aws_iot_call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/aws_iot_call.h"
65
#include <assert.h>
76
#include <errno.h>
87
#include <gg/arena.h>
@@ -15,6 +14,7 @@
1514
#include <gg/map.h>
1615
#include <gg/object.h>
1716
#include <gg/vector.h>
17+
#include <ggl/aws_iot_call.h>
1818
#include <ggl/core_bus/aws_iot_mqtt.h>
1919
#include <ggl/core_bus/client.h> // IWYU pragma: keep (cleanup)
2020
#include <pthread.h>

modules/core-bus-aws-iot-mqtt/src/aws_iot_mqtt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/aws_iot_mqtt.h"
65
#include <gg/buffer.h>
76
#include <gg/error.h>
87
#include <gg/flags.h>
98
#include <gg/log.h>
109
#include <gg/map.h>
1110
#include <gg/object.h>
11+
#include <ggl/core_bus/aws_iot_mqtt.h>
1212
#include <ggl/core_bus/client.h>
1313
#include <stdbool.h>
1414
#include <stddef.h>

modules/core-bus-gg-config/src/gg_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/gg_config.h"
65
#include <gg/arena.h>
76
#include <gg/buffer.h>
87
#include <gg/error.h>
@@ -11,6 +10,7 @@
1110
#include <gg/map.h>
1211
#include <gg/object.h>
1312
#include <ggl/core_bus/client.h>
13+
#include <ggl/core_bus/gg_config.h>
1414
#include <stddef.h>
1515
#include <stdint.h>
1616

modules/core-bus-gghealthd/src/gg_healthd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/gg_healthd.h"
65
#include <gg/arena.h>
76
#include <gg/buffer.h>
87
#include <gg/error.h>
98
#include <gg/log.h>
109
#include <gg/map.h>
1110
#include <gg/object.h>
1211
#include <ggl/core_bus/client.h>
12+
#include <ggl/core_bus/gg_healthd.h>
1313
#include <stdint.h>
1414

1515
GgError ggl_gghealthd_retrieve_component_status(

modules/core-bus-sub-response/src/sub_response.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/sub_response.h"
65
#include <assert.h>
76
#include <errno.h>
87
#include <gg/buffer.h>
@@ -11,6 +10,7 @@
1110
#include <gg/log.h>
1211
#include <gg/object.h>
1312
#include <ggl/core_bus/client.h>
13+
#include <ggl/core_bus/sub_response.h>
1414
#include <inttypes.h>
1515
#include <pthread.h>
1616
#include <sys/types.h>

modules/core-bus/src/client.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/client.h"
65
#include "client_common.h"
76
#include "object_serde.h"
87
#include "types.h"
98
#include <gg/arena.h>
9+
#include <gg/buffer.h>
1010
#include <gg/cleanup.h>
1111
#include <gg/error.h>
1212
#include <gg/eventstream/decode.h>
1313
#include <gg/file.h>
1414
#include <gg/log.h>
1515
#include <gg/object.h>
1616
#include <gg/socket.h>
17+
#include <ggl/core_bus/client.h>
1718
#include <stddef.h>
1819

1920
GgError ggl_notify(GgBuffer interface, GgBuffer method, GgMap params) {

modules/core-bus/src/client_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// SPDX-License-Identifier: Apache-2.0
44

55
#include "client_common.h"
6-
#include "ggl/core_bus/constants.h"
76
#include "object_serde.h"
87
#include "types.h"
98
#include <assert.h>
@@ -19,6 +18,7 @@
1918
#include <gg/object.h>
2019
#include <gg/socket.h>
2120
#include <gg/vector.h>
21+
#include <ggl/core_bus/constants.h>
2222
#include <pthread.h>
2323
#include <stddef.h>
2424
#include <stdint.h>

modules/core-bus/src/client_subscribe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// SPDX-License-Identifier: Apache-2.0
44

55
#include "client_common.h"
6-
#include "ggl/core_bus/client.h"
7-
#include "ggl/core_bus/constants.h"
86
#include "object_serde.h"
97
#include "types.h"
108
#include <assert.h>
@@ -19,6 +17,8 @@
1917
#include <gg/object.h>
2018
#include <gg/socket.h>
2119
#include <gg/socket_epoll.h>
20+
#include <ggl/core_bus/client.h>
21+
#include <ggl/core_bus/constants.h>
2222
#include <ggl/socket_handle.h>
2323
#include <pthread.h>
2424
#include <sys/types.h>

modules/core-bus/src/server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "ggl/core_bus/server.h"
6-
#include "ggl/core_bus/constants.h"
75
#include "object_serde.h"
86
#include "types.h"
97
#include <assert.h>
@@ -18,6 +16,8 @@
1816
#include <gg/log.h>
1917
#include <gg/object.h>
2018
#include <gg/vector.h>
19+
#include <ggl/core_bus/constants.h>
20+
#include <ggl/core_bus/server.h>
2121
#include <ggl/socket_handle.h>
2222
#include <ggl/socket_server.h>
2323
#include <pthread.h>

modules/fleet-provisioning/bin/fleet-provisioning.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5-
#include "fleet-provisioning.h"
65
#include <argp.h>
6+
#include <fleet-provisioning.h>
77
#include <gg/buffer.h>
88
#include <gg/error.h>
99
#include <gg/vector.h>

0 commit comments

Comments
 (0)