From 550f5ea1b12e69cb76900ccc134704d9a12946c1 Mon Sep 17 00:00:00 2001 From: Laurin Wolf Date: Thu, 28 Apr 2022 23:05:42 +0200 Subject: [PATCH] sys/posix: use __restrict instead of restrict --- sys/posix/include/arpa/inet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/posix/include/arpa/inet.h b/sys/posix/include/arpa/inet.h index bb10c61c9ee4..25779cbd6d5d 100644 --- a/sys/posix/include/arpa/inet.h +++ b/sys/posix/include/arpa/inet.h @@ -59,7 +59,7 @@ extern "C" { * @return NULL, if @p size was smaller than needed * @return NULL, if @p src or @p dst was NULL */ -const char *inet_ntop(int af, const void *restrict src, char *restrict dst, +const char *inet_ntop(int af, const void *__restrict src, char *__restrict dst, socklen_t size); /**