diff --git a/cpu/avr8_common/avr_libc_extra/include/unistd.h b/cpu/avr8_common/avr_libc_extra/include/unistd.h index 39049c605f..dfe62e4ec0 100644 --- a/cpu/avr8_common/avr_libc_extra/include/unistd.h +++ b/cpu/avr8_common/avr_libc_extra/include/unistd.h @@ -80,8 +80,8 @@ int pipe(int [2]); ssize_t pread(int, void *, size_t, off_t); ssize_t pwrite(int, const void *, size_t, off_t); ssize_t read(int, void *, size_t); -ssize_t readlink(const char *restrict, char *restrict, size_t); -ssize_t readlinkat(int, const char *restrict, char *restrict, size_t); +ssize_t readlink(const char *__restrict, char *__restrict, size_t); +ssize_t readlinkat(int, const char *__restrict, char *__restrict, size_t); int rmdir(const char *); int setegid(gid_t); int seteuid(uid_t);