Skip to content

Commit

Permalink
fix: add missing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 27, 2023
1 parent eb993e0 commit 9542ec8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/transport/raweth/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,15 @@ int8_t _z_new_link_raweth(_z_link_t *zl, _z_endpoint_t endpoint) {

return ret;
}
#else
int8_t _z_endpoint_raweth_valid(_z_endpoint_t *endpoint) {
_ZP_UNUSED(endpoint);
return _Z_ERR_TRANSPORT_NOT_AVAILABLE;
}

int8_t _z_new_link_raweth(_z_link_t *zl, _z_endpoint_t endpoint) {
_ZP_UNUSED(zl);
_ZP_UNUSED(endpoint);
return _Z_ERR_TRANSPORT_NOT_AVAILABLE;
}
#endif

0 comments on commit 9542ec8

Please sign in to comment.