From c6abf61c42f235dba6ba22d1d5bc66a7aa2b421e Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Thu, 20 Jun 2024 09:28:04 +0200 Subject: [PATCH] fix: empty struct error --- include/zenoh-pico/api/handlers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/zenoh-pico/api/handlers.h b/include/zenoh-pico/api/handlers.h index 752a6860e..f258f5846 100644 --- a/include/zenoh-pico/api/handlers.h +++ b/include/zenoh-pico/api/handlers.h @@ -117,8 +117,10 @@ #define _Z_CHANNEL_DEFINE_DUMMY(item_name, kind_name) \ typedef struct { \ + uint8_t _foo; \ } z_owned_##kind_name##_handler_##item_name##_t; \ typedef struct { \ + uint8_t _foo; \ } z_loaned_##kind_name##_handler_##item_name##_t; \ void *z_##kind_name##_handler_##item_name##_loan(); \ void *z_##kind_name##_handler_##item_name##_move(); \