use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / network / inet_pton.c
index bb16fb9..5c4850a 100644 (file)
@@ -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;