1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 11:33:51 +01:00

3 Commits

Author SHA1 Message Date
be66fb0507 core/atomic_c11: fix declarations
gcc 9 started complaining about type mismatches:

1. all int sized return types are expected to be
   "unsigned int" instead of e.g., "uint32_t"

2. all arguments are expected to be passed as (volatile)
   void * pointers

This commit fixes 1. by doing ifdef'ed typedefs for I2 and I4, an fixes
2. by using void pointers, then casting within the template bodies.
2019-05-13 17:38:10 +02:00
smlng
f4d9972574 llvm: hide redefines of atomic sync operations 2017-02-14 10:53:12 +01:00
Joakim Nohlgård
fcdb157228 core: rename c11_atomic -> atomic_c11 2017-02-08 16:23:47 +01:00