summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/os/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/os/net.h b/common/os/net.h
index 72471032..acaf50f5 100644
--- a/common/os/net.h
+++ b/common/os/net.h
@@ -42,8 +42,8 @@ typedef int socklen_t;
/* IPv4-only stub implementation */
#ifndef HAVE_INET_NTOP
-const char *tight_inet_ntop(int af, const void *restrict src,
- char *restrict dst, socklen_t size);
+const char *tight_inet_ntop(int af, const void *src,
+ char *dst, socklen_t size);
#define inet_ntop tight_inet_ntop
#endif