Skip to content

Commit a02f895

Browse files
authored
Refactor internal headers (#181)
* Initial Fix path Fix paths Update header guards Fix * Fix * Fix
1 parent 5ebdd83 commit a02f895

50 files changed

Lines changed: 118 additions & 119 deletions

Some content is hidden

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

rmw_microxrcedds_c/src/callbacks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <callbacks.h>
15+
#include <rmw_microros_internal/callbacks.h>
1616

1717
#include <rmw/error_handling.h>
1818

rmw_microxrcedds_c/src/identifiers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <identifiers.h>
15+
#include <rmw_microros_internal/identifiers.h>
1616

1717
const char * const eprosima_microxrcedds_identifier = "rmw_microxrcedds";
1818
const char * const eprosima_microxrcedds_serialization_format = "cdr";

rmw_microxrcedds_c/src/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <memory.h>
15+
#include <rmw_microros_internal/memory.h>
1616

1717
#include <string.h>
1818

rmw_microxrcedds_c/src/rmw_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <rmw/allocators.h>
2525
#include <rmw/error_handling.h>
2626

27-
#include "./utils.h"
27+
#include "./rmw_microros_internal/utils.h"
2828

2929
rmw_client_t *
3030
rmw_create_client(

rmw_microxrcedds_c/src/rmw_count.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#include <rmw_microxrcedds_c/config.h>
2020
#include <rmw_microxrcedds_c/rmw_c_macros.h>
2121

22-
#include "./types.h"
23-
#include "./identifiers.h"
22+
#include "./rmw_microros_internal/types.h"
23+
#include "./rmw_microros_internal/identifiers.h"
2424

2525
#ifdef RMW_UXRCE_GRAPH
26-
#include "./rmw_graph.h"
26+
#include "./rmw_microros_internal/rmw_graph.h"
2727
#endif // RMW_UXRCE_GRAPH
2828

2929
#ifdef RMW_UXRCE_GRAPH

rmw_microxrcedds_c/src/rmw_get_gid_for_publisher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <rmw/rmw.h>
1616
#include <rmw/error_handling.h>
1717

18-
#include "./types.h"
18+
#include "./rmw_microros_internal/types.h"
1919

2020
rmw_ret_t
2121
rmw_get_gid_for_publisher(

rmw_microxrcedds_c/src/rmw_get_implementation_identifier.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "./identifiers.h"
16-
#include "./utils.h"
15+
#include "./rmw_microros_internal/identifiers.h"
16+
#include "./rmw_microros_internal/utils.h"
1717

1818
const char *
1919
rmw_get_implementation_identifier()

rmw_microxrcedds_c/src/rmw_get_serialization_format.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "./identifiers.h"
16-
#include "./utils.h"
15+
#include "./rmw_microros_internal/identifiers.h"
16+
#include "./rmw_microros_internal/utils.h"
1717

1818
const char *
1919
rmw_get_serialization_format()

rmw_microxrcedds_c/src/rmw_get_topic_endpoint_info.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
#include <rmw/get_topic_endpoint_info.h>
2424
#include <rmw/types.h>
2525

26-
#include "./types.h"
27-
#include "./identifiers.h"
26+
#include "./rmw_microros_internal/types.h"
27+
#include "./rmw_microros_internal/identifiers.h"
2828

2929
#ifdef RMW_UXRCE_GRAPH
30-
#include "./rmw_graph.h"
30+
#include "./rmw_microros_internal/rmw_graph.h"
3131
#endif // RMW_UXRCE_GRAPH
3232

3333
#ifdef RMW_UXRCE_GRAPH

rmw_microxrcedds_c/src/rmw_graph.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <rmw_graph.h>
15+
#include <rmw_microros_internal/rmw_graph.h>
1616

1717
#include <rmw/error_handling.h>
1818
#include <rosidl_runtime_c/string_functions.h>
1919
#include <micro_ros_msgs/msg/detail/graph__rosidl_typesupport_microxrcedds_c.h>
2020

21-
#include "./utils.h"
21+
#include "./rmw_microros_internal/utils.h"
2222

2323
rmw_ret_t rmw_graph_init(
2424
rmw_context_impl_t * context,

0 commit comments

Comments
 (0)