Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Sep 12, 2024
1 parent 5395e7a commit e517fd3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/z_query_sub.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct args_t parse_args(int argc, char** argv, z_owned_config_t* config);

const char* kind_to_str(z_sample_kind_t kind);

void data_handler(const z_loaned_sample_t* sample, void* arg) {
void data_handler(z_loaned_sample_t* sample, void* arg) {
z_view_string_t key_string;
z_keyexpr_as_view_string(z_sample_keyexpr(sample), &key_string);
z_owned_string_t payload_string;
Expand Down
2 changes: 1 addition & 1 deletion examples/z_queryable_shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const char *keyexpr = "demo/example/zenoh-c-queryable";
const char *value = "Queryable from C SHM!";
z_view_keyexpr_t ke;

void query_handler(const z_loaned_query_t *query, void *context) {
void query_handler(z_loaned_query_t *query, void *context) {
z_loaned_shm_provider_t *provider = (z_loaned_shm_provider_t *)context;

z_view_string_t key_string;
Expand Down
2 changes: 1 addition & 1 deletion examples/z_sub_liveliness.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct args_t {
};
struct args_t parse_args(int argc, char** argv, z_owned_config_t* config);

void data_handler(const z_loaned_sample_t* sample, void* arg) {
void data_handler(z_loaned_sample_t* sample, void* arg) {
z_view_string_t key_string;
z_keyexpr_as_view_string(z_sample_keyexpr(sample), &key_string);
switch (z_sample_kind(sample)) {
Expand Down
2 changes: 1 addition & 1 deletion examples/z_sub_shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

const char *kind_to_str(z_sample_kind_t kind);

void data_handler(const z_loaned_sample_t *sample, void *arg) {
void data_handler(z_loaned_sample_t *sample, void *arg) {
z_view_string_t key_string;
z_keyexpr_as_view_string(z_sample_keyexpr(sample), &key_string);

Expand Down

0 comments on commit e517fd3

Please sign in to comment.