Skip to content
Commit 57275034 authored by Florian La Roche's avatar Florian La Roche Committed by Carles Cufí
Browse files

style: move ALWAYS_INLINE to the beginning to resolve compiler warnings



With gcc from the zephyr sdk and -Wold-style-declaration is giving this
output:
zephyr/arch/arm/core/aarch32/cortex_a_r/fault.c:101:1: warning:
  'inline' is not at beginning of declaration [-Wold-style-declaration]
  101 | static void ALWAYS_INLINE
                    z_arm_fpu_caller_save(struct __fpu_sf *fpu)
      | ^~~~~~

I searched to all of the source code to find these further occurances
where inline is not at the beginning of a function declaration.

Signed-off-by: default avatarFlorian La Roche <Florian.LaRoche@gmail.com>
parent 572a23f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment