sparc32: Fix old style declaration GCC warnings
Subsystems (2)
PATCH 1/1 sparc32: Fix old style declaration GCC warnings
Fix [-Wold-style-declaration] GCC warnings by moving the inline keyword before the return type.
Signed-off-by Tobias Klauser <[email protected]>
--- arch/sparc/include/asm/spinlock_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/include/asm/spinlock_32.h +1 -1
@@ -134,7 +134,7 @@ static inline void arch_write_lock(arch_rwlock_t *rw) *(volatile __u32 *)&lp->lock = ~0U ; } -static void inline arch_write_unlock (arch_rwlock_t *lock) +static inline void arch_write_unlock (arch_rwlock_t *lock) { __asm__ __volatile__( " st %%g0, [%0]"
Signature · 1 line
2.9.0
From: Tobias Klauser <[email protected]>
Date: Fri, 21 Oct 2016 15:39:03 +0200
Quoted 4 lines
Fix [-Wold-style-declaration] GCC warnings by moving the inline keyword before the return type.
Signed-off-by Tobias Klauser <[email protected]>
Applied.