Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return type of rcl_publisher_get_subscription_count() #559

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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