From 52cb7b400363d6681d82d3d5c6ab08603afa8801 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Thu, 11 Dec 2008 08:22:36 +0000 Subject: [PATCH] The restrict keyboard was introduced with C99, but we are aiming for C89 compatibility. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3374 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/os/net.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/os/net.h b/common/os/net.h index 72471032..acaf50f5 100644 --- a/common/os/net.h +++ b/common/os/net.h @@ -42,8 +42,8 @@ typedef int socklen_t; /* IPv4-only stub implementation */ #ifndef HAVE_INET_NTOP -const char *tight_inet_ntop(int af, const void *restrict src, - char *restrict dst, socklen_t size); +const char *tight_inet_ntop(int af, const void *src, + char *dst, socklen_t size); #define inet_ntop tight_inet_ntop #endif -- 2.39.5