about summary refs log tree commit diff
path: root/src/network/inet_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/inet_pton.c')
-rw-r--r--src/network/inet_pton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/inet_pton.c b/src/network/inet_pton.c
index bb16fb90..5c4850a6 100644
--- a/src/network/inet_pton.c
+++ b/src/network/inet_pton.c
@@ -14,7 +14,7 @@ static int hexval(unsigned c)
 	return -1;
 }
 
-int inet_pton(int af, const char *s, void *a0)
+int inet_pton(int af, const char *restrict s, void *restrict a0)
 {
 	uint16_t ip[8];
 	unsigned char *a = a0;