mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
add missing inline keyword on default a_barrier definition
this is not needed, but may act as a hint to the compiler, and also
serves to suppress unused function warnings if enabled (on by default
since commit 86ac0f7947
).
This commit is contained in:
parent
b5121e2ed8
commit
fd7d018521
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ static inline void a_store(volatile int *p, int v)
|
|||
|
||||
#ifndef a_barrier
|
||||
#define a_barrier a_barrier
|
||||
static void a_barrier()
|
||||
static inline void a_barrier()
|
||||
{
|
||||
volatile int tmp = 0;
|
||||
a_cas(&tmp, 0, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue