summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/dev
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1998-01-28 11:38:29 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1998-01-28 11:38:29 +0000
commite132fd998366d8d693ef08f870464d6dafc9232b (patch)
tree0db12627530144dea908546699c0a425d410ab88 /sys/arch/pmax/dev
parent50bbb57daddb5771111da8e3219a0a7208aac8fb (diff)
ok - now the full and correct patch for this problem - thanks again to
Nino Margetic <nino@well.ox.ac.uk> and Per Kristian Gjermshus <pergj@ifi.uio.no>
Diffstat (limited to 'sys/arch/pmax/dev')
-rw-r--r--sys/arch/pmax/dev/qvss_compat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/pmax/dev/qvss_compat.c b/sys/arch/pmax/dev/qvss_compat.c
index 6f2eda3c3be..28e891d3ba0 100644
--- a/sys/arch/pmax/dev/qvss_compat.c
+++ b/sys/arch/pmax/dev/qvss_compat.c
@@ -566,9 +566,9 @@ genConfigMouse()
#if NSCC > 0
case DS_3MIN:
case DS_3MAXPLUS:
- sccDivertXInput = genKbdEvent;
- sccMouseEvent = genMouseEvent;
- sccMouseButtons = genMouseButtons;
+ sccDivertXInput = (void (*) __P((int)))genKbdEvent;
+ sccMouseEvent = (void (*) __P((int)))genMouseEvent;
+ sccMouseButtons = (void (*) __P((int)))genMouseButtons;
break;
#endif
#if NDTOP > 0
@@ -611,12 +611,12 @@ genDeconfigMouse()
break;
#endif /* NDC_DS */
-#if NSCC > 1
+#if NSCC > 0
case DS_3MIN:
case DS_3MAXPLUS:
- sccDivertXInput = (void (*) __P((int)) )0;
- sccMouseEvent = (void (*) __P((MouseReport *)) )0;
- sccMouseButtons = (void (*) __P((MouseReport *)) )0;
+ sccDivertXInput = (void (*) __P((int)))0;
+ sccMouseEvent = (void (*) __P((int)))0;
+ sccMouseButtons = (void (*) __P((int)))0;
break;
#endif