summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsemulvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-26 16:56:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-26 16:56:43 +0000
commit36460865e8900119b203ce0444196799e44ade5b (patch)
tree0849bd8e3065b22c6f234a2dc971895b4a96c29f /sys/dev/wscons/wsemulvar.h
parent4c8ec346c37b4e89be57a88234cc8f9aaee197b7 (diff)
Constify the output of the emulops translate() function, as well as the
various tables they use.
Diffstat (limited to 'sys/dev/wscons/wsemulvar.h')
-rw-r--r--sys/dev/wscons/wsemulvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsemulvar.h b/sys/dev/wscons/wsemulvar.h
index 94e3f505509..0084a76affa 100644
--- a/sys/dev/wscons/wsemulvar.h
+++ b/sys/dev/wscons/wsemulvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemulvar.h,v 1.8 2007/11/25 19:11:43 miod Exp $ */
+/* $OpenBSD: wsemulvar.h,v 1.9 2007/11/26 16:56:42 miod Exp $ */
/* $NetBSD: wsemulvar.h,v 1.6 1999/01/17 15:46:15 drochner Exp $ */
/*
@@ -50,7 +50,7 @@ struct wsemul_ops {
int, int, void *, long);
void (*output)(void *cookie, const u_char *data, u_int count,
int);
- int (*translate)(void *, keysym_t, char **);
+ int (*translate)(void *, keysym_t, const char **);
void (*detach)(void *cookie, u_int *crow, u_int *ccol);
void (*reset)(void *, enum wsemul_resetops);
};