From a047c29c608d3b040768987404fd6b45a0b462b0 Mon Sep 17 00:00:00 2001 From: Anemptyship Date: Sun, 11 Jan 2026 14:19:49 +0000 Subject: [PATCH] fix: Correct inline specifier position in bsr_skip_code() Move 'inline' keyword before the return type to comply with C99 standard. This fixes the -Wold-style-declaration compiler warning. Before: static void inline bsr_skip_code(...) After: static inline void bsr_skip_code(...) Signed-off-by: Anemptyship --- src/oapv_bs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oapv_bs.c b/src/oapv_bs.c index adb7533..ad163b7 100644 --- a/src/oapv_bs.c +++ b/src/oapv_bs.c @@ -152,7 +152,7 @@ static const u8 tbl_zero_count4[16] = { }; // skip code if lefbits are larger than skip bit count; -static void inline bsr_skip_code(oapv_bs_t *bs, int size) +static inline void bsr_skip_code(oapv_bs_t *bs, int size) { oapv_assert(size <= 32); oapv_assert(bs->leftbits >= size);