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

Remove redundant ifdef #882

Closed
Closed
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
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
Loading