Skip to content

Commit

Permalink
sys/posix: use __restrict instead of restrict
Browse files Browse the repository at this point in the history
  • Loading branch information
laurin committed May 7, 2022
1 parent 80815ed commit 550f5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/posix/include/arpa/inet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down

0 comments on commit 550f5ea

Please sign in to comment.