From 790bd62be3ce24adb8db636e6bae4bee0500130b Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Tue, 20 Feb 2024 18:19:20 +0100 Subject: [PATCH] fix z_qos_default() signature --- include/zenoh-pico/api/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zenoh-pico/api/types.h b/include/zenoh-pico/api/types.h index c9d97f5ad..06117dd06 100644 --- a/include/zenoh-pico/api/types.h +++ b/include/zenoh-pico/api/types.h @@ -437,7 +437,7 @@ static inline _Bool z_qos_get_express(z_qos_t qos) { return _z_n_qos_get_express /** * Returns default qos settings. */ -static inline z_qos_t z_qos_default() { return _Z_N_QOS_DEFAULT; } +static inline z_qos_t z_qos_default(void) { return _Z_N_QOS_DEFAULT; } /** * Represents a data sample.