Variable key_map is used even if KERNEL is not defined. Remove ifdef. * i386/i386at/kd.h [KERNEL]: Remove ifdef.
--- i386/i386at/kd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index b29a5bf..4d1ab7f 100644 --- a/i386/i386at/kd.h +++ b/i386/i386at/kd.h @@ -555,9 +555,7 @@ typedef u_char Scancode; * sequence for the Normal state. The next NUMOUTPUT characters * are for the Shift state, then Ctrl, then Alt, then Shift/Alt. */ -#ifdef KERNEL extern u_char key_map[NUMKEYS][WIDTH_KMAP]; -#endif /* KERNEL */ -- 1.8.1.4