summaryrefslogtreecommitdiffstats
path: root/common/os
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-11 08:22:36 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-11 08:22:36 +0000
commit52cb7b400363d6681d82d3d5c6ab08603afa8801 (patch)
treed5da6a323f983439242bb330fc4a387163f6fd0a /common/os
parentbe4c3acee78f27f979849677c52b3c5d9dc5acb0 (diff)
downloadtigervnc-52cb7b400363d6681d82d3d5c6ab08603afa8801.tar.gz
tigervnc-52cb7b400363d6681d82d3d5c6ab08603afa8801.zip
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
Diffstat (limited to 'common/os')
-rw-r--r--common/os/net.h4
1 files 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