From 097095b55758daa4236f3d5eaf4ad4d3f0209c28 Mon Sep 17 00:00:00 2001 From: Lectem Date: Wed, 20 Jan 2016 16:15:48 -0500 Subject: [PATCH] remove restrict keyword in arpa/inet.h fixes #248 This causes problems for non-c99 and c++ projects. --- libctru/include/arpa/inet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libctru/include/arpa/inet.h b/libctru/include/arpa/inet.h index 5e044a9..5c27b1e 100644 --- a/libctru/include/arpa/inet.h +++ b/libctru/include/arpa/inet.h @@ -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 }