Merge pull request #249 from Lectem/patch-2

remove restrict keyword in arpa/inet.h fixes #248
This commit is contained in:
Dave Murphy 2016-01-20 23:20:48 +00:00
commit 88c1798c12

View File

@ -31,8 +31,8 @@ extern "C" {
int inet_aton(const char *cp, struct in_addr *inp); int inet_aton(const char *cp, struct in_addr *inp);
char* inet_ntoa(struct in_addr in); char* inet_ntoa(struct in_addr in);
const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size); const char *inet_ntop(int af, const void * src, char * dst, socklen_t size);
int inet_pton(int af, const char *restrict src, void *restrict dst); int inet_pton(int af, const char * src, void * dst);
#ifdef __cplusplus #ifdef __cplusplus
} }