From 2fb4cd370cdcdd287171d94115364ca323de8153 Mon Sep 17 00:00:00 2001 From: Jorge Perez Date: Thu, 25 Jun 2020 17:00:04 -0300 Subject: [PATCH] Remove unused internal prototypes Signed-off-by: Jorge Perez --- rcl/src/rcl/remap_impl.h | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/rcl/src/rcl/remap_impl.h b/rcl/src/rcl/remap_impl.h index de8e835f8..2729b61b7 100644 --- a/rcl/src/rcl/remap_impl.h +++ b/rcl/src/rcl/remap_impl.h @@ -51,10 +51,6 @@ typedef struct rcl_remap_impl_t rcl_allocator_t allocator; } rcl_remap_impl_t; -/// Get an rcl_remap_t structure initialized with NULL. -rcl_remap_t -rcl_remap_get_zero_initialized(); - /// Copy one remap structure into another. /** *
@@ -73,35 +69,13 @@ rcl_remap_get_zero_initialized(); * \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or * \return `RCL_RET_ERROR` if an unspecified error occurs. */ -RCL_PUBLIC +RCL_LOCAL RCL_WARN_UNUSED rcl_ret_t rcl_remap_copy( const rcl_remap_t * rule, rcl_remap_t * rule_out); -/// Reclaim resources used in an rcl_remap_t structure. -/** - *
- * Attribute | Adherence - * ------------------ | ------------- - * Allocates Memory | No - * Thread-Safe | Yes - * Uses Atomics | No - * Lock-Free | Yes - * - * \param[in] rule A rule to deallocate back to a zero initialized state. - * \return `RCL_RET_OK` if the structure was free'd, or - * \return `RCL_RET_INVALID_ARGUMENT` if any arguments are invalid, or - * \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or - * \return `RCL_RET_NODE_INVALID_NAME` if the name is invalid, or - * \return `RCL_RET_ERROR` if an unspecified error occurs. - */ -RCL_WARN_UNUSED -rcl_ret_t -rcl_remap_fini( - rcl_remap_t * rule); - #ifdef __cplusplus } #endif