Merge pull request #249 from Lectem/patch-2
remove restrict keyword in arpa/inet.h fixes #248
This commit is contained in:
commit
88c1798c12
@ -31,8 +31,8 @@ extern "C" {
|
||||
int inet_aton(const char *cp, struct in_addr *inp);
|
||||
char* inet_ntoa(struct in_addr in);
|
||||
|
||||
const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size);
|
||||
int inet_pton(int af, const char *restrict src, void *restrict dst);
|
||||
const char *inet_ntop(int af, const void * src, char * dst, socklen_t size);
|
||||
int inet_pton(int af, const char * src, void * dst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user