Skip to content

Commit

Permalink
Fix return type of rcl_publisher_get_subscription_count() (#559)
Browse files Browse the repository at this point in the history
* fix return type of rcl_publisher_get_subscription_count

* fix it in c file too
  • Loading branch information
wjwwood authored Jan 22, 2020
1 parent 76b0d5d commit 7537f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rcl/include/rcl/publisher.h
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ rcl_publisher_is_valid_except_context(const rcl_publisher_t * publisher);
*/
RCL_PUBLIC
RCL_WARN_UNUSED
rmw_ret_t
rcl_ret_t
rcl_publisher_get_subscription_count(
const rcl_publisher_t * publisher,
size_t * subscription_count);
Expand Down
2 changes: 1 addition & 1 deletion rcl/src/rcl/publisher.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ rcl_publisher_is_valid_except_context(const rcl_publisher_t * publisher)
return true;
}

rmw_ret_t
rcl_ret_t
rcl_publisher_get_subscription_count(
const rcl_publisher_t * publisher,
size_t * subscription_count)
Expand Down

0 comments on commit 7537f83

Please sign in to comment.