From b7132f5ce38860ae3ed05e658d1e3a07a470ea6d Mon Sep 17 00:00:00 2001 From: Pierre Avital Date: Mon, 15 Jan 2024 11:01:05 +0100 Subject: [PATCH] remove inlines that should not have been there --- src/protocol/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol/core.c b/src/protocol/core.c index 7f0172319..b469f872c 100644 --- a/src/protocol/core.c +++ b/src/protocol/core.c @@ -128,8 +128,8 @@ void _z_encoded_attachment_drop(_z_owned_encoded_attachment_t *att) { _z_bytes_clear(&att->body.encoded); } } -inline _Bool z_attachment_check(const z_attachment_t *attachment) { return attachment->iteration_driver != NULL; } -inline int8_t z_attachment_iterate(z_attachment_t this_, z_attachment_iter_body_t body, void *ctx) { +_Bool z_attachment_check(const z_attachment_t *attachment) { return attachment->iteration_driver != NULL; } +int8_t z_attachment_iterate(z_attachment_t this_, z_attachment_iter_body_t body, void *ctx) { return this_.iteration_driver(this_.data, body, ctx); } z_attachment_t z_attachment_null(void) { return (z_attachment_t){.data = NULL, .iteration_driver = NULL}; }