diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2005-07-08 02:26:08 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2005-07-08 02:26:08 +0000 |
commit | 7324e5fc2a2f5b9f74b607acb457b96ce43f893e (patch) | |
tree | 4cddc0c1c58aa6252336dd60540618e2fe1d0e41 | |
parent | 8d669a211845b45901120ff2440c205b7f2adf5d (diff) |
Fix mismatched brace and compile when NWSMUX and NWSDISPLAY not defined.
OK uwe@
-rw-r--r-- | sys/dev/wscons/wskbd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index 103310a52df..a01eda1d4d1 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbd.c,v 1.44 2005/06/02 07:31:17 miod Exp $ */ +/* $OpenBSD: wskbd.c,v 1.45 2005/07/08 02:26:07 marc Exp $ */ /* $NetBSD: wskbd.c,v 1.80 2005/05/04 01:52:16 augustss Exp $ */ /* @@ -120,9 +120,7 @@ int wskbddebug = 0; #define DPRINTF(x) #endif -#if NWSMUX > 0 || NWSDISPLAY > 0 #include <dev/wscons/wsmuxvar.h> -#endif struct wskbd_internal { const struct wskbd_mapdata *t_keymap; @@ -1470,8 +1468,8 @@ internal_command(struct wskbd_softc *sc, u_int *type, keysym_t ksym, ksym == KS_Cmd_ContrastDown ? -1 : 1, ksym == KS_Cmd_ContrastRotate ? 1 : 0); return (1); -#endif } +#endif return (0); } |