Skip to content

Commit

Permalink
remove inlines that should not have been there
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Jan 15, 2024
1 parent 5876f49 commit b7132f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocol/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}; }

0 comments on commit b7132f5

Please sign in to comment.