summaryrefslogtreecommitdiffstats
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r--include/arpa/inet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index d16fd1f..ecfcb49 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -139,8 +139,9 @@ uint16_t ntohs(uint16_t);
in_addr_t inet_addr(const char *);
char *inet_ntoa(struct in_addr);
-const char *inet_ntop(int, const void *, char *, socklen_t);
-int inet_pton(int, const char *, void *);
+const char *inet_ntop(int, const void *__restrict, char *__restrict,
+ socklen_t);
+int inet_pton(int, const char *__restrict, void *__restrict);
#if __BSD_VISIBLE
int ascii2addr(int, const char *, void *);
OpenPOWER on IntegriCloud