Skip to content

Commit

Permalink
Remove redundant ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 7, 2025
1 parent 85ca060 commit 4d3f07b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -5379,7 +5379,7 @@ z_result_t zc_publisher_get_matching_status(const struct z_loaned_publisher_t *t
*
* @return 0 in case of success, negative error code otherwise.
*/
#if (defined(Z_FEATURE_UNSTABLE_API) && defined(Z_FEATURE_UNSTABLE_API))
#if defined(Z_FEATURE_UNSTABLE_API)
ZENOHC_API
z_result_t zc_querier_declare_background_matching_listener(const struct z_loaned_querier_t *querier,
struct zc_moved_closure_matching_status_t *callback);
Expand All @@ -5394,7 +5394,7 @@ z_result_t zc_querier_declare_background_matching_listener(const struct z_loaned
*
* @return 0 in case of success, negative error code otherwise.
*/
#if (defined(Z_FEATURE_UNSTABLE_API) && defined(Z_FEATURE_UNSTABLE_API))
#if defined(Z_FEATURE_UNSTABLE_API)
ZENOHC_API
z_result_t zc_querier_declare_matching_listener(const struct z_loaned_querier_t *querier,
struct zc_owned_matching_listener_t *matching_listener,
Expand All @@ -5406,7 +5406,7 @@ z_result_t zc_querier_declare_matching_listener(const struct z_loaned_querier_t
*
* @return 0 in case of success, negative error code otherwise (in this case matching_status is not updated).
*/
#if (defined(Z_FEATURE_UNSTABLE_API) && defined(Z_FEATURE_UNSTABLE_API))
#if defined(Z_FEATURE_UNSTABLE_API)
ZENOHC_API
z_result_t zc_querier_get_matching_status(const struct z_loaned_querier_t *this_,
struct zc_matching_status_t *matching_status);
Expand Down

0 comments on commit 4d3f07b

Please sign in to comment.