]> source.dussan.org Git - tigervnc.git/commitdiff
The restrict keyboard was introduced with C99, but we are aiming for
authorPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 08:22:36 +0000 (08:22 +0000)
committerPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 08:22:36 +0000 (08:22 +0000)
C89 compatibility.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3374 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/os/net.h

index 7247103250d02587c6d3f87ef77602e092cb35bc..acaf50f5523c84f86ae7a5e2b878e6d6f91ab903 100644 (file)
@@ -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