1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/avr8_common/avr_libc_extra/include
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
..
sys cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00
vendor cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00
errno.h cpu/avr8_common/avr_libc_extra: add missing errno codes 2023-01-12 08:39:30 +01:00
inttypes.h cpu: Refact atmega_common into avr8_common 2021-01-07 16:29:22 -03:00
strings.h cpu/avr8_common: add strings.h for compatibility 2022-09-22 08:33:37 +02:00
unistd.h cpu/avr8_common: fix C++ compatibility of unistd.h 2024-12-12 14:28:27 +01:00