From fef999c06f892418d8238700335ea27f6d3b418f Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Thu, 9 Nov 2023 13:56:06 +0100 Subject: [PATCH] llext: (cosmetic) remove "inline" in llext.c Let the compiler decide which functions to inline. Signed-off-by: Guennadi Liakhovetski --- subsys/llext/llext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subsys/llext/llext.c b/subsys/llext/llext.c index fcaa2317c41..f7b0885ece5 100644 --- a/subsys/llext/llext.c +++ b/subsys/llext/llext.c @@ -213,7 +213,7 @@ static int llext_map_sections(struct llext_loader *ldr, struct llext *ext) return 0; } -static inline enum llext_section llext_sect_from_mem(enum llext_mem m) +static enum llext_section llext_sect_from_mem(enum llext_mem m) { enum llext_section s; @@ -370,7 +370,7 @@ static int llext_count_export_syms(struct llext_loader *ldr, struct llext *ext) return 0; } -static inline int llext_allocate_symtab(struct llext_loader *ldr, struct llext *ext) +static int llext_allocate_symtab(struct llext_loader *ldr, struct llext *ext) { int ret = 0; size_t syms_size = ldr->sym_cnt * sizeof(struct llext_symbol); @@ -384,7 +384,7 @@ static inline int llext_allocate_symtab(struct llext_loader *ldr, struct llext * return ret; } -static inline int llext_copy_symbols(struct llext_loader *ldr, struct llext *ext) +static int llext_copy_symbols(struct llext_loader *ldr, struct llext *ext) { size_t ent_size = ldr->sects[LLEXT_SECT_SYMTAB].sh_entsize; size_t syms_size = ldr->sects[LLEXT_SECT_SYMTAB].sh_size;