@@ -42,7 +42,7 @@ rmw_free(void * pointer)
42
42
}
43
43
44
44
rmw_node_t *
45
- rmw_node_allocate ()
45
+ rmw_node_allocate (void )
46
46
{
47
47
// Could be overridden with custom (maybe static) node struct allocator
48
48
return (rmw_node_t * )rmw_allocate (sizeof (rmw_node_t ));
@@ -56,7 +56,7 @@ rmw_node_free(rmw_node_t * node)
56
56
}
57
57
58
58
rmw_publisher_t *
59
- rmw_publisher_allocate ()
59
+ rmw_publisher_allocate (void )
60
60
{
61
61
// Could be overridden with custom (maybe static) publisher struct allocator
62
62
return (rmw_publisher_t * )rmw_allocate (sizeof (rmw_publisher_t ));
@@ -70,7 +70,7 @@ rmw_publisher_free(rmw_publisher_t * publisher)
70
70
}
71
71
72
72
rmw_subscription_t *
73
- rmw_subscription_allocate ()
73
+ rmw_subscription_allocate (void )
74
74
{
75
75
// Could be overridden with custom (maybe static) subscription struct allocator
76
76
return (rmw_subscription_t * )rmw_allocate (sizeof (rmw_subscription_t ));
@@ -84,7 +84,7 @@ rmw_subscription_free(rmw_subscription_t * subscription)
84
84
}
85
85
86
86
rmw_guard_condition_t *
87
- rmw_guard_condition_allocate ()
87
+ rmw_guard_condition_allocate (void )
88
88
{
89
89
// Could be overridden with custom (maybe static) guard_condition
90
90
// struct allocator
@@ -99,7 +99,7 @@ rmw_guard_condition_free(rmw_guard_condition_t * guard_condition)
99
99
}
100
100
101
101
rmw_client_t *
102
- rmw_client_allocate ()
102
+ rmw_client_allocate (void )
103
103
{
104
104
// Could be overridden with custom (maybe static) client struct allocator
105
105
return (rmw_client_t * )rmw_allocate (sizeof (rmw_client_t ));
@@ -113,7 +113,7 @@ rmw_client_free(rmw_client_t * client)
113
113
}
114
114
115
115
rmw_service_t *
116
- rmw_service_allocate ()
116
+ rmw_service_allocate (void )
117
117
{
118
118
// Could be overridden with custom (maybe static) client struct allocator
119
119
return (rmw_service_t * )rmw_allocate (sizeof (rmw_service_t ));
@@ -127,7 +127,7 @@ rmw_service_free(rmw_service_t * service)
127
127
}
128
128
129
129
rmw_wait_set_t *
130
- rmw_wait_set_allocate ()
130
+ rmw_wait_set_allocate (void )
131
131
{
132
132
// Could be overridden with custom (maybe static) client struct allocator
133
133
return (rmw_wait_set_t * )rmw_allocate (sizeof (rmw_wait_set_t ));
0 commit comments