Add declaration prototype line for ddsrt_atomic_ function to fix armhf build warning
Thanks to @emersonknapp Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
8d6b308199
commit
80ed351efd
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ int ddsrt_atomic_cas64 (volatile ddsrt_atomic_uint64_t *x, uint64_t exp, uint64_
|
|||
}
|
||||
|
||||
#define DDSRT_FAKE_ATOMIC64(name, oper, ret) \
|
||||
uint64_t ddsrt_atomic_##name##64_##ret (volatile ddsrt_atomic_uint64_t *x, uint64_t v); \
|
||||
uint64_t ddsrt_atomic_##name##64_##ret (volatile ddsrt_atomic_uint64_t *x, uint64_t v) \
|
||||
{ \
|
||||
const uint64_t idx = atomic64_lock_index (x); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue