Skip to content

Commit

Permalink
Fix typo (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc authored Nov 18, 2024
1 parent 1901e44 commit caefa3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ See details at :ref:`owned_types_concept`
Functions
---------
.. autocfunction:: liveliness.h::z_liveliness_token_options_t_default
.. autocfunction:: liveliness.h::z_liveliness_token_options_default
.. autocfunction:: liveliness.h::z_liveliness_declare_token
.. autocfunction:: liveliness.h::z_liveliness_undeclare_token
.. autocfunction:: liveliness.h::z_liveliness_subscriber_options_default
Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/api/liveliness.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ typedef struct z_liveliness_token_options_t {
/**
* Constructs default value for :c:type:`z_liveliness_token_options_t`.
*/
z_result_t z_liveliness_token_options_t_default(z_liveliness_token_options_t *options);
z_result_t z_liveliness_token_options_default(z_liveliness_token_options_t *options);

/**
* Constructs and declares a liveliness token on the network.
Expand Down
2 changes: 1 addition & 1 deletion src/api/liveliness.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void _z_liveliness_token_clear(_z_liveliness_token_t *token) {
_Z_OWNED_FUNCTIONS_VALUE_NO_COPY_IMPL(_z_liveliness_token_t, liveliness_token, _z_liveliness_token_check,
_z_liveliness_token_null, _z_liveliness_token_clear)

z_result_t z_liveliness_token_options_t_default(z_liveliness_token_options_t *options) {
z_result_t z_liveliness_token_options_default(z_liveliness_token_options_t *options) {
options->__dummy = 0;
return _Z_RES_OK;
}
Expand Down

0 comments on commit caefa3f

Please sign in to comment.