1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00
RIOT/cpu/avr8_common/avr_libc_extra
Marian Buschsieweke 5fe7a2e44b
cpu/avr8_common: fix C++ compatibility of unistd.h
C++ does not know about `restrict`, but both g++ and clang++ support
`__restrict`, as do `clang` and GCC [1].

Using `__restrict` instead of `restrict` is also what glibc does.

[1]: https://en.wikipedia.org/wiki/Restrict#Support_by_C++_compilers
2024-12-12 14:28:27 +01:00
..
2023-01-08 22:26:12 +01:00