From 36460865e8900119b203ce0444196799e44ade5b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 26 Nov 2007 16:56:43 +0000 Subject: Constify the output of the emulops translate() function, as well as the various tables they use. --- sys/dev/wscons/wsemulvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/wscons/wsemulvar.h') 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); }; -- cgit v1.2.3