summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tigervnc/patches/patch-unix_xserver_hw_vnc_vncModule.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/tigervnc/patches/patch-unix_xserver_hw_vnc_vncModule.c b/net/tigervnc/patches/patch-unix_xserver_hw_vnc_vncModule.c
new file mode 100644
index 00000000000..6ccdc8800d9
--- /dev/null
+++ b/net/tigervnc/patches/patch-unix_xserver_hw_vnc_vncModule.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-unix_xserver_hw_vnc_vncModule.c,v 1.1 2016/01/17 22:01:20 joerg Exp $
+
+--- unix/xserver/hw/vnc/vncModule.c.orig 2016-01-17 00:14:36.000000000 +0000
++++ unix/xserver/hw/vnc/vncModule.c
+@@ -40,7 +40,7 @@ typedef pointer XF86OptionPtr;
+ #include "RFBGlue.h"
+ #include "XorgGlue.h"
+
+-static void vncModuleInit(INITARGS);
++static void vncModuleInit(void);
+
+ static MODULESETUPPROTO(vncSetup);
+
+@@ -82,7 +82,7 @@ vncSetup(void * module, void * opts, int
+ return (void *)1;
+ }
+
+-static void vncModuleInit(INITARGS)
++static void vncModuleInit(void)
+ {
+ static char once = 0;
+