Skip to content

Commit

Permalink
Remove legacy z_timestamp_check (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc authored Oct 8, 2024
1 parent 62719cf commit 2e77310
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ Functions
^^^^^^^^^
.. autocfunction:: primitives.h::z_timestamp_id
.. autocfunction:: primitives.h::z_timestamp_ntp64_time
.. autocfunction:: primitives.h::z_timestamp_check
Closures
========
Expand Down
11 changes: 0 additions & 11 deletions include/zenoh-pico/api/primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -862,17 +862,6 @@ uint64_t z_timestamp_ntp64_time(const z_timestamp_t *ts);
*/
z_id_t z_timestamp_id(const z_timestamp_t *ts);

/**
* Checks validity of a timestamp
*
* Parameters:
* ts: Timestamp value to check validity of.
*
* Return:
* ``true`` if the timestamp is valid, ``false`` otherwise.
*/
bool z_timestamp_check(z_timestamp_t ts);

/**
* Builds a default query target.
*
Expand Down
2 changes: 0 additions & 2 deletions src/api/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,6 @@ uint64_t z_timestamp_ntp64_time(const z_timestamp_t *ts) { return ts->time; }

z_id_t z_timestamp_id(const z_timestamp_t *ts) { return ts->id; }

bool z_timestamp_check(z_timestamp_t ts) { return _z_timestamp_check(&ts); }

z_query_target_t z_query_target_default(void) { return Z_QUERY_TARGET_DEFAULT; }

z_query_consolidation_t z_query_consolidation_auto(void) {
Expand Down

0 comments on commit 2e77310

Please sign in to comment.